Can we assume that you have a firewall or router mapping from publicly visible port 80 to your machine’s port 9998? Otherwise, you’re using Certbot in a way that can’t obtain a certificate (you’re not allowed to choose the public port number for HTTP-01).
Agreed. As the docs show:
–http-01-port HTTP01_PORT
Port used in the http-01 challenge. This only affects the port Certbot listens on. A conforming ACME server will still attempt to connect on port 80. (default: 80)
Thx for your replies.
It was a wrong configuration from Apache, for url http://example.fr/.well-known/acme-challenge/ (configured on the port 9999 instead of 9998). Now its okay
Have a nice day