Closed FredMa01 closed 5 months ago
A solution is to generate the certificate before. All thanks Christoph for all !
Hi, i have same problem for vm testing (lan). In playbook try comment role "certbot" and add in playbook this role:
- { role: ispmail-certificate, tags: cert-self }
and in group_Vars all...
# Self-signed certificate
ispmail_certificate_country: "IT"
ispmail_certificate_state: "Italy"
ispmail_certificate_location: "Matera"
ispmail_certificate_organisation: "Ninux Basilicata"
ispmail_certificate_orgunit: "Ninux"
ispmail_certificate_domains: "{{ ipmail_fqdn }}"
ispmail_certificate_email: "{{ ispmail_postmaster_address }}"
ispmail_certificate_days_valid: "9999"
Again, sorry for the late response. I assume that after a year you have either given up or found a solution. Otherwise please re-open this issue and let us know the exact error message.
Hi, When I select my domain in ''group_vars/all'' (ispmail_fqdn: mydomain.tld), an run ''ansible-playbook ispmail.yml -c local'', I have this error :
The command : "systemctl status dovecot'' displays :
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 14: ssl_cert: Can't open file /etc/letsencrypt/live/mydomain.tld/f>
The commande : ''certbot certificates'' displays :No certificates found.
An idea ? There's no problem when I keep by default my IP address and the .[nip.io] domain
Thanks