How to create certificate without after creating port 80 config

Hello,we same some applications we create user domain config file(apache) with port 80 and then on same time without reloading apache we create port 443 config , the problem is when we generate port 443 config , certport return error (because domain port 80 not reloaded yet)

My domain is:

I ran this command:
certbot --text --agree-tos --email $email -d $domain --manual --preferred-challenges http --expand --renew-by-default --manual-public-ip-logging-ok certonly -q -n --manual-auth-hook /home/hook/$hook --config-dir /home/hook/lets encrypt/ --work-dir /home/hook/letsencrypt/ --logs-dir /home/hook/letsencrypt/
It produced this output:
/usr/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography import x509
Use of --manual-public-ip-logging-ok is deprecated.
Challenge failed for domain mydomain
Some challenges have failed.
Could not create https certificate, please wait for DNS Propagation
My web server is (include version):
Apache
The operating system my web server runs on is (include version):
Centos 7
My hosting provider, if applicable, is:
namecheap
I can login to a root shell on my machine (yes or no, or I don't know):
Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
Yes
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
/usr/lib/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography import x509
certbot 1.11.0

Hi @ayoubjamouhi and welcome to the LE community forum :slight_smile:

If you can upgrade the certbot version, please do so.

Also, please provide the output of:
certbot certificates

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.