Information
The https-server is enabled by default and is assigned the "local-cert" as its server certificate. The "local-cert" is a self-signed certificate generated internally by the switch at first boot. Self-signed certificates generally aren't trusted by browsers and shouldn't be used in normal operation. It is recommended that customers add their own server certificate to the switch and assign it to the https-server.
Self-signed certificates are normally flagged as invalid by modern browsers. The auto-generated "local-cert" serves as a placeholder for all certificate-based applications and is not meant for use in production networks.
Solution
The 'crypto pki application' command can be used to assign a certificate to the https-server:
switch(config)# crypto pki application https-server certificate <CERT-NAME>
Impact:
Use of the "local-cert" may result in the inability for clients to connect to the https-server. Or it will raise support calls as the authenticity of the device cannot be properly validated.