I’m attempting to add another email domain to my installation, and I receive the following ACME log output.
acme-mailcow_1 | Sun Dec 19 21:19:09 GMT 2021 - Waiting for Docker API…
acme-mailcow_1 | Sun Dec 19 21:19:09 GMT 2021 - Docker API OK
acme-mailcow_1 | Sun Dec 19 21:19:09 GMT 2021 - Waiting for Postfix…
acme-mailcow_1 | Sun Dec 19 21:19:09 GMT 2021 - Postfix OK
acme-mailcow_1 | Sun Dec 19 21:19:09 GMT 2021 - Waiting for Dovecot…
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Dovecot OK
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Waiting for database…
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Database OK
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Waiting for Nginx…
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Nginx OK
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Waiting for resolver…
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Resolver OK
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Waiting for domain table…
acme-mailcow_1 | OK
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Initializing, please wait…
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Using existing domain rsa key /var/lib/acme/acme/key.pem
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Using existing Lets Encrypt account key /var/lib/acme/acme/account.pem
acme-mailcow_1 | Sun Dec 19 21:19:10 GMT 2021 - Detecting IP addresses…
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - OK: MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Found A record for autodiscover.NEW_DOMAIN: MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Confirmed A record MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Found A record for autoconfig.NEW_DOMAIN: MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Confirmed A record MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Found A record for autodiscover.MAIN_DOMAIN: MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Confirmed A record MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Found A record for autoconfig.MAIN_DOMAIN: MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Confirmed A record MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Found A record for mail.MAIN_DOMAIN: MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Confirmed A record MAILCOW_EXTERNAL_IP
acme-mailcow_1 | Sun Dec 19 21:19:20 GMT 2021 - Certificate /var/lib/acme/mail.MAIN_DOMAIN/cert.pem missing or changed domains ‘mail.MAIN_DOMAIN autoconfig.NEW_DOMAIN autoconfig.MAIN_DOMAIN autodiscover.NEW_DOMAIN autodiscover.MAIN_DOMAIN’ - start obtaining
acme-mailcow_1 | Sun Dec 19 21:19:21 GMT 2021 - Creating backups in /var/lib/acme/backups/mail.MAIN_DOMAIN/2021-12-19_21_19_21 …
acme-mailcow_1 | cat: can’t open ‘/etc/ssl/openssl.cnf’: No such file or directory
acme-mailcow_1 | unable to find ‘distinguished_name’ in config
acme-mailcow_1 | problems making Certificate Request
acme-mailcow_1 | 140284744997704:error:0E06D06C:configuration file routines:NCONF_get_string:no value:crypto/conf/conf_lib.c:273:group=req name=distinguished_name
acme-mailcow_1 | Sun Dec 19 21:19:21 GMT 2021 - Checking resolver…
acme-mailcow_1 | Sun Dec 19 21:19:21 GMT 2021 - Resolver OK
acme-mailcow_1 | Sun Dec 19 21:19:21 GMT 2021 - Using command acme-tiny –account-key /var/lib/acme/acme/account.pem –disable-check –csr /var/lib/acme/mail.MAIN_DOMAIN/acme.csr –acme-dir /var/www/acme/
acme-mailcow_1 | Parsing account key…
acme-mailcow_1 | Parsing CSR…
acme-mailcow_1 | Traceback (most recent call last):
acme-mailcow_1 | File “/usr/bin/acme-tiny”, line 8, in <module>
acme-mailcow_1 | sys.exit(main())
acme-mailcow_1 | File “/usr/lib/python3.9/site-packages/acme_tiny.py”, line 195, in main
acme-mailcow_1 | signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact, check_port=args.check_port)
acme-mailcow_1 | File “/usr/lib/python3.9/site-packages/acme_tiny.py”, line 90, in get_crt
acme-mailcow_1 | out = _cmd([“openssl”, “req”, “-in”, csr, “-noout”, “-text”], err_msg=“Error loading {0}”.format(csr))
acme-mailcow_1 | File “/usr/lib/python3.9/site-packages/acme_tiny.py”, line 28, in _cmd
acme-mailcow_1 | raise IOError(“{0}\n{1}”.format(err_msg, err))
acme-mailcow_1 | OSError: Error loading /var/lib/acme/mail.MAIN_DOMAIN/acme.csr
acme-mailcow_1 | b’unable to load X509 request\n139748299217736:error:0909006C😛EM routines:get_name:no start line:crypto/pem/pem_lib.c:745:Expecting: CERTIFICATE REQUEST\n’
acme-mailcow_1 | Sun Dec 19 21:19:21 GMT 2021 - Failed to obtain certificate /var/lib/acme/mail.MAIN_DOMAIN/cert.pem for domains ‘mail.MAIN_DOMAIN autoconfig.NEW_DOMAIN autoconfig.MAIN_DOMAIN autodiscover.NEW_DOMAIN autodiscover.MAIN_DOMAIN’
It seems as though it’s failing to find some files that it needs earlier in the process. Does anyone have any input on this?
Thanks,
redstonedesigner