Hello,
Follow this procedure and everything will works fine.
1: a2enmod ssl
2: service apache2 restart
3: ln -s /etc/apache2/sites-available/default-ssl.conf /etc/apache2/sites-enabled/default-ssl.conf
4: openssl genrsa -des3 -out privkey.key 2048
5: mv privkey.key privkey-old.key
6: openssl rsa -in privkey-old.key -out privkey.key
enter pass phrase
7: openssl req -new -key privkey.key -out fullchain.csr
Fill in all fields:
- Country Name (2 letter code)
- State or Province Name (full name)
- [Some-State]
- Locality Name (eg, city)
- Organization Name (eg, company) [Internet Widgits Pty Ltd]
- Organizational Unit Name (eg, section)
- Common Name (e.g. server FQDN or YOUR name)
- Email Address
IMPORTANT!
Remember to enter the same name in “Common Name” that will be used for connecting by client computers. Otherwise agents will not be able to communicate with server.
8: openssl x509 -req -days 3650 -in fullchain.csr -signkey privkey.key -out fullchain.pem
9: cp fullchain.pem /etc/ssl/certs/
10: cp privkey.key /etc/ssl/private/
11: nano /etc/apache2/sites-enabled/default-ssl.conf
comment your two lines
# SSLCertificateFile /etc/letsencrypt/live/<my domain>/fullchain.pem
# SSLCertificateKeyFile /etc/letsencrypt/live/<my domain>/privkey.pem
and creat theses two lines:
SSLCertificateFile /etc/ssl/certs/fullchain.pem
SSLCertificateKeyFile /etc/ssl/private/privkey.key
12: service apache2 restart
13: copy the /etc/ssl/certs/fullchain.pem and rename it in cacert.pem and included it on the OCSpackage.exe and finally deploy it on the PC.