Error «Сonnection is not secure» when opening ispmanager 6
Symptoms
When attempting to access the control panel, the following error messages are displayed: NET::ERR_CERT_AUTHORITY_INVALID or SSL_ERROR_BAD_CERT_DOMAIN.
Errors may be accompanied by the following warning messages:
- «Unable to establish a secure connection»
- «Potential security risk»
- «Your connection is not private»
Causes
The panel address has an incorrect or invalid certificate installed.
Solution
Ignore the warning message
In case such warning appears when you log into the control panel, you may safely ignore it, since it relates to the use of a certificate generated locally on the server during installation. Browsers consider such a certificate to be unverified.
To skip the warning message, click the "Additional information" or "Details" button, and then click "Continue", "Make an exception for this site", or "Accept the risk and continue". The names of the buttons may vary depending on the browser in use. However, the functionality and meaning of the buttons will remain consistent.
Install the certificate for the panel address
A secure connection for the panel can only be established under the root user.
Free certificate for IP address
You can install a free certificate from Let's Encrypt for the panel's IP address in the Panel Settings section under the SSL certificates tab:
- Select the certificate type «Let's Encrypt certificate»
- Enter the IP address of the server where the panel is opened
- Make sure that the IP address field contains the appropriate value
- Click Create
Setting up secured connection by domain
You can choose one of the sites in the panel through which you will log in to the panel itself:
- Open the settings of the desired site in the Sites section
- Go to the Additional settings tab and enable the option Access to ispmanager by site name
- Select one of the options:
- Open the panel at https://YOUR_DOMAIN_NAME, where the panel will open instead of the site by its domain name
- Open the panel at https://YOUR_DOMAIN_NAME/ispmgr, where the site will open by domain, and the panel will open by YOUR_DOMAIN_NAME/ispmgr
For secured connection, the site must have a valid SSL certificate.
Installing an SSL certificate for the IP address of the panel
Issuing an SSL certificate for an IP address is a relatively limited solution that will require the purchase of a specific type of SSL certificate.
You can purchase a PositiveSSL certificate for your IP address, which you can then connect in the control panel. After that, all browsers will cease issuing warnings when you access your control panel's IP address.