|
Replacing the Web Server Private Key and Certificate |
|
The Control Center web server uses a self-signed certificate to establish secure HTTPS connections. Your company’s security policy may require you to replace the web server private key and certificate in order to use Dr.Web Enterprise Security Suite. In this case you can replace the original web server files with your own or use the drwsign utility shipped with Dr.Web Enterprise Security Suite to generate a new private key and self-signed certificate and replace the files. To replace the web server private key and certificate with your own files 1.Make sure that you have separate private key and certificate files in the PEM format at your disposal.
2.Rename your private key file to private-key.pem and your certificate file to certificate.pem. 3.Copy the original web server files named private-key.pem and certificate.pem from the following folder to another one as a backup copy: •Windows: %programfiles%\DrWeb Server\etc •Linux: /var/opt/drwcs/etc •FreeBSD: /var/drwcs/etc 4.Replace the original private-key.pem and certificate.pem web server files in the etc subfolder with your own files.
5.In a Unix-like OS: assign the drwcs user as the owner of the files you replaced in the etc subfolder. •Linux:
•FreeBSD:
6.Restart Dr.Web Server. •Windows: using Windows OS service management tools or the Start → All programs → Dr.Web Server → Restart menu. •Linux:
•FreeBSD:
7.Wait a few minutes and try to connect to the Control Center. You can also use the drwsign digital key and certificate generation utility in order to generate a new private key and self-signed certificate and place them in the appropriate folder.
To generate and replace the web server private key and certificate using the drwsign utility 1.Copy the original private-key.pem private key and certificate.pem certificate files used by the web server from the following folder to another one as a backup copy: •Windows: %programfiles%\DrWeb Server\etc •Linux: /var/opt/drwcs/etc •FreeBSD: /var/drwcs/etc 2.Run the following command to generate a new private-key.pem private key file and a certificate.pem self-signed certificate file and replace the original files in the etc subfolder. •Windows:
•Linux:
•FreeBSD:
3.In a Unix-like OS: assign the drwcs user as the owner of the generated files. •Linux:
•FreeBSD:
4.Restart Dr.Web Server. •Windows: using Windows OS service management tools or the Start → All programs → Dr.Web Server → Restart menu. •Linux:
•FreeBSD:
5.Wait a few minutes and try to connect to the Control Center. |