This article describes that Starting from FortiOS 7.2.5, the SHA-1 certificate has been removed for the web management interface (GUI).
Change the built-in Fortinet_GUI_Server certificate or SHA-256 and higher certificates for the web management interface. Do this via PUTTY
For example:
config system global
set admin-server-cert Fortinet_GUI_Server
end
Related document:
https://docs.fortinet.com/document/fortigate/7.2.5/fortios-release-notes/681556/remove-support-for-sha-1-certificate-used-for-web-management-interface-gui