Quote:
|
Originally Posted by falko
You can put them whereever you want, as long as you specify the correct paths in your dovecot.conf file.
|
The /etc/dovecot.conf file is mostly remarked out but it showed me where it looks for it's certs;
#ssl_cert_file = /etc/pki/dovecot/certs/dovecot.pem
#ssl_key_file = /etc/pki/dovecot/private/dovecot.pem
Quote:
|
Originally Posted by falko
A little bit - it doesn't generate a new cert when you update ISPConfig, but continues to use the old one instead.
|
Good to know and I'm glad it didn't.
Now that I found which program and where the keys are I followed these instructions:
Generating a Certificate Signing Request (CSR)
To generate the Certificate Signing Request (CSR), you should create your own key. You can run the following command from a terminal prompt to create the key:
Code:
openssl genrsa -out server.key 1024
I took the -des3 out because I did not want to enter the passphrase every time I started the web server. The server key is generated and stored in
server.key file.
To create the CSR, run the following command at a terminal prompt:
Code:
openssl req -new -key server.key -out server.csr
It will prompt you to enter Company Name, Site Name, Email Id, etc. Once you enter all these details, your CSR will be created and it will be stored in the
server.csr file. You can submit this CSR file to a CA for processing. The CAN will use this CSR file and issue the certificate. On the other hand, you can create self-signed certificate using this CSR.
Creating a Self-Signed Certificate
To create the self-signed certificate, run the following command at a terminal prompt:
Code:
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
Your certificate will be created and it will be stored in the
server.crt file.
Installing the Certificate
I copied the
server.crt to /etc/pki/dovecot/certs/ and renamed it
dovecot.pem and
I copied the
server.key to /etc/pki/dovecot/private/ and renamed it
dovecot.pem
Restarted dovecot and postfix and it seems to have fixed the problem.
Thanks Till and Falko.
Recent comments
20 hours 50 min ago
23 hours 45 min ago
1 day 59 min ago
1 day 2 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 3 hours ago