Description | This article describes how to import a new SSL certificate on EMS Server on-Premise and how to solve the errors in the process. |
Scope | FortiClient. |
Solution |
It is possible to import a new SSL certificate on the EMS server in 2 ways.
Method 1
Take a snapshot and a Backup of the EMS server (in case of a rollback, it is necessary):
Option 1: On the GUI.
openssl x509 -in cert.crt -out cert.pem
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt
After performing this process, an error may appear featuring a URL similar to https://localhost:port/ with error ERR_CONNECTION_REFUSED (-102):
... Remove the IIS service, then restart the services through the command line as shown below and try the access to EMS server.
Option 2: Directly modify the paths of the ssl.crt and ssl.key. It will be required to separate the certificate and key. (OpenSSL can be used to extract the key and certificate.)
For the key:
openssl pkcs12 -in certfile.pfx -nocerts -nodes -out key.pem
For the certificate:
openssl pkcs12 -in certfile.pfx -clcerts -nokeys -out cert.pem
Replace the SSL certificate key file and SSL certificate file. Below is how the setup looks before the modification.
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.