Configuring SSL certificates in Kerio Control
You need an SSL certificateSSL certificates are used to authenticate an identity on a server. to use encrypted communication (VPNVirtual private network - A network that enables users connect securely to a private network over the Internet., HTTPSHypertext Transfer Protocol - version of HTTP secured by SSL. etc.). SSLSecure Sockets Layer - A protocol that ensures integral and secure communication between networks. certificates are used to authenticate an identity on a server.
For generating SSL certificates, Kerio Control uses its own local authority. Kerio Control creates the first certificate during installation. The server can use this certificate.
However, to avoid users seeing a confirmation message that suggests the site is not secure, you must generate a new certificate request in Kerio Control and send it to a certification authority for authentication.
Kerio Control supports certificates in the following formats:
- Certificate (public key) — X.509 Base64 in text format (PEM).
The file has the extension
- Private key — The file is in RSA format and it has the
.keywith 4KB max. Passphrase is supported.
- Certificate + private key in one file — The format is PKCS#12.
The file has the extension
Local Authority is generated automatically during Kerio Control installation. However, the hostname and other data are incorrect, so you need to generate a new certificate for the Local Authority.
To create and use a certificate for the Local Authority:
- Go to Definitions > SSL Certificates.
- Click Add > New Certificate for Local Authority.
- In the New Certificate for Local Authority dialog box, type the Kerio Control hostname, the official name of your company, the city and country of your company, and the period for which the certificate should be valid.
The new Local Authority will be available and visible in Definitions > SSL Certificates. The old one is:
- Changed from Local Authority to Authority
- Renamed to Obsolete Local Authority
- Available as a trusted authority for IPsecInternet Protocol security - A network protocol used to encrypt and secure data sent over a network.
If you need to know how to export the local authority and import it as root certificateA certificate issued by a trusted certificate authority (CA). In the SSL, anyone can generate a signing key and sign a new certificate. to a browser, read the Exporting and importing Kerio Control local authority as root certificate article.
Create a new certificate if the old one is not valid anymore.
To create a certificate, follow these instructions:
- Open section Definitions > SSL Certificates.
- Click Add > New Certificate.
- In the New Certificate dialog box, type the hostname of Kerio Control, the official name of your company, city and country where your company resides and the period of validity. Hostname is a required field.
- Save the settings.
Now you can use this certificate. Using the certificate means that you have to select it in the specific settings (for example SSL certificate for VPN server you have to select in Interfaces > VPN Server).
To create and use a certificate signed by a trustworthy certification authority, follow these instructions:
- Open Definitions > SSL Certificates.
- Click Add > New Certificate Request.
- In the New Certificate Request dialog box, type the hostname of Kerio Control, the official name of your company, city and country where your company resides and the period of validity. Hostname is a required field.
- Select the certificate request and click More Actions > Export.
- Save the certificate to your disk and email it to a certification organization. For example, Verisign, Thawte, SecureSign, SecureNet, Microsoft Authenticode and so on.
- Once you obtain your certificate signed by a certification authority, go to Definitions > SSL Certificates.
- Select the original certificate request (the certificate request and the signed certificate must be matched)
- Click More Actions > Import.
The certificate replaces the certificate request. You can use this certificate. Using the certificate means that you have to select it in the specific settings (for example SSL certificate for VPN serverKerio Control includes a VPN server which provides users to connect to the Kerio Control network from the Internet securely. you have to select in Interfaces > VPN Server).
Kerio Control allows authentication by intermediate certificates.
To add an intermediate certificate to Kerio Control, follow these steps:
- In the administration interface, go to section Configuration > SSL Certificates.
- Import certificates by clicking on Import > Import Certificate of an Authority.
- Save the settings.
If you have multiple intermediate certificates, add them all in the same way.
Changing SSL certificates
If your certificate is expiring and you need to import a new one, you must also select the certificate in all Kerio Control services where the expiring certificate is used. For more information refer to Changing SSL certificates in Kerio Control.