Lets Encrypt on Mac OS Big Sur Error

Hello Jim
I have started fresh with Catalina on Mac OS and MAMP Pro which used to work. Then I installed Home-brew and am still getting the same errors. Missing ssl_module and the missing host which is not correct.

The virtual host was set up successfully.

If you can see this page, your new virtual host was set up successfully. Now, web content can be added and this placeholder page1 should be replaced or deleted.

Server software:
Server name:
Document root:
Protocol:
PHP:

1 File:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Could not find ssl_module; not disabling session tickets.
Enter email address (used for urgent renewal and security notices)
(Enter 'c' to cancel): user@mydomain.com


Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server. Do you agree?


(Y)es/(N)o: y


Would you be willing, once your first certificate is successfully issued, to
share your email address with the Electronic Frontier Foundation, a founding
partner of the Let's Encrypt project and the non-profit organization that
develops Certbot? We'd like to send you email about our work encrypting the web,
EFF news, campaigns, and ways to support digital freedom.


(Y)es/(N)o: sudo certbot certonly --apache
(Y)es/(N)o: N
Account registered.
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): w01.mylibraries.online
Requesting a certificate for w01.mylibraries.online
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

Here is the log fileā€¦

2021-07-23 17:26:20,903:DEBUG:certbot._internal.main:certbot version: 1.17.0
2021-07-23 17:26:20,903:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/local/bin/certbot
2021-07-23 17:26:20,903:DEBUG:certbot._internal.main:Arguments: ['--apache']
2021-07-23 17:26:20,903:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-07-23 17:26:20,927:DEBUG:certbot._internal.log:Root logging level set at 30
2021-07-23 17:26:20,928:DEBUG:certbot._internal.plugins.selection:Requested authenticator apache and installer apache
2021-07-23 17:26:21,108:DEBUG:certbot_apache._internal.configurator:Apache version is 2.4.46
2021-07-23 17:26:21,378:WARNING:certbot_apache._internal.configurator:Could not find ssl_module; not disabling session tickets.
2021-07-23 17:26:21,379:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache._internal.entrypoint:ENTRYPOINT
Initialized: <certbot_apache._internal.override_darwin.DarwinConfigurator object at 0x10624f490>
Prep: True
2021-07-23 17:26:21,380:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache._internal.entrypoint:ENTRYPOINT
Initialized: <certbot_apache._internal.override_darwin.DarwinConfigurator object at 0x10624f490>
Prep: True
2021-07-23 17:26:21,380:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot_apache._internal.override_darwin.DarwinConfigurator object at 0x10624f490> and installer <certbot_apache._internal.override_darwin.DarwinConfigurator object at 0x10624f490>
2021-07-23 17:26:21,380:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator apache, Installer apache
2021-07-23 17:27:05,431:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2021-07-23 17:27:05,472:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443
2021-07-23 17:27:05,584:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 658
2021-07-23 17:27:05,584:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Content-Type: application/json
Content-Length: 658
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

{
"4QJiU4xqBAE": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",
"keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change",
"meta": {
"caaIdentities": [
"letsencrypt.org"
],
"termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
"website": "https://letsencrypt.org"
},
"newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct",
"newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce",
"newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order",
"revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert"
}
2021-07-23 17:27:18,903:DEBUG:acme.client:Requesting fresh nonce
2021-07-23 17:27:18,903:DEBUG:acme.client:Sending HEAD request to https://acme-v02.api.letsencrypt.org/acme/new-nonce.
2021-07-23 17:27:18,934:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "HEAD /acme/new-nonce HTTP/1.1" 200 0
2021-07-23 17:27:18,935:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 0102m46ZU84hRSexcQVPRWFD3z_0dtCpnCZRl4yDIB82qkg
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

2021-07-23 17:27:18,935:DEBUG:acme.client:Storing nonce: 0102m46ZU84hRSexcQVPRWFD3z_0dtCpnCZRl4yDIB82qkg
2021-07-23 17:27:18,935:DEBUG:acme.client:JWS payload:
b'{\n "contact": [\n "mailto:user@mydomain.com"\n ],\n "termsOfServiceAgreed": true\n}'
2021-07-23 17:27:18,937:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/new-acct:
{
"protected": "eyJhbGciOiAiUlMyNTYiLCAiandrIjogeyJuIjogIndKVjd4ZjFrVE81X1RRaDVEbHVlWGhlc2lmeE1pWEZXN1pDMDA2SUx5MVRHczQ4R3VTa0ttbEgwQnhBdzZkNzN6cVJtMkdjWlhlRGVZY0xUTVVtMXdkS3hYc3BveElpcjBhUW5YNTdyUjljaFloT1VCa2NFXy1yQUJuXzVPN0d4RmhZMHJTZ0lwamtmWVdJN0VsUXZ0aXlmbmRaRjdKaXllWVkybW90RVFlZnpTdkJCN0x3ODlOOFJaSEJhTDVNM09uaHBUbzN5LWdNSkVzNGZxaXV3NUVlVU5RMmdsWVB4eDNIQjZtbktOY1JZLUxteTNvTEYwX0R4NnAxeE13XzZJMERFVEpBMm5zTDdPVS1TM0VFOGl3aHNTVTNmNEUtUjM2VjVKZFgwbWxUVHN5VXFxcTlsR2ZrY3hqdmdBbFpscXNBaE15dDhHR1N5dGhjVi1sX0JydyIsICJlIjogIkFRQUIiLCAia3R5IjogIlJTQSJ9LCAibm9uY2UiOiAiMDEwMm00NlpVODRoUlNleGNRVlBSV0ZEM3pfMGR0Q3BuQ1pSbDR5RElCODJxa2ciLCAidXJsIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL25ldy1hY2N0In0",
"signature": "udaJ5fXmcW44dLPLHD2RRrx9BLZ0IFtjWxhy8s5MOCRHWt_MDYtHNcaemYabrcVVIoBe-572EUIuhZ6MDfgS17qpA0k9Ep90dm0Fi9bJhUsaQTbE2iKkcoIVw994psx4WsnU-5slbzJiVXzg7S_nmNEQP0IuikHTWeuDW33qPDLkSwWrz8RpE6wl-c69LkkXnWe0ykBzTbwL0GkLjD0oGJdn4nb49o-41zEbDNrOhxX324CTjC5DWM2uouFD0yiCcLBjHy14C9a7qgOlYj3QBt_hA3DiTjDXVsb6Xo44H-pc2TJNdT1UGhPai8Fuilshs7ZBTAk1WsHwEcJypu20-w",
"payload": "ewogICJjb250YWN0IjogWwogICAgIm1haWx0bzpkdWFuZUB3aXNkb21xdWVzdC5jb20iCiAgXSwKICAidGVybXNPZlNlcnZpY2VBZ3JlZWQiOiB0cnVlCn0"
}
2021-07-23 17:27:19,072:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/new-acct HTTP/1.1" 201 564
2021-07-23 17:27:19,072:DEBUG:acme.client:Received response:
HTTP 201
Server: nginx
Content-Type: application/json
Content-Length: 564
Connection: keep-alive
Boulder-Requester: 134383501
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index", <https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf>;rel="terms-of-service"
Location: https://acme-v02.api.letsencrypt.org/acme/acct/134383501
Replay-Nonce: 01014ODJugtvfj2QOOl6DVgIVU7qiaeQP5Ifi7KnfoWF0QE
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

{
"key": {
"kty": "RSA",
"n": "wJV7xf1kTO5_TQh5DlueXhesifxMiXFW7ZC006ILy1TGs48GuSkKmlH0BxAw6d73zqRm2GcZXeDeYcLTMUm1wdKxXspoxIir0aQnX57rR9chYhOUBkcE_-rABn_5O7GxFhY0rSgIpjkfYWI7ElQvtiyfndZF7JiyeYY2motEQefzSvBB7Lw89N8RZHBaL5M3OnhpTo3y-gMJEs4fqiuw5EeUNQ2glYPxx3HB6mnKNcRY-Lmy3oLF0_Dx6p1xMw_6I0DETJA2nsL7OU-S3EE8iwhsSU3f4E-R36V5JdX0mlTTsyUqqq9lGfkcxjvgAlZlqsAhMyt8GGSythcV-l_Brw",
"e": "AQAB"
},
"contact": [
"mailto:user@mydomain.com"
],
"initialIp": "199.38.85.103",
"createdAt": "2021-07-23T22:27:19.054594888Z",
"status": "valid"
}
2021-07-23 17:27:19,072:DEBUG:acme.client:Storing nonce: 01014ODJugtvfj2QOOl6DVgIVU7qiaeQP5Ifi7KnfoWF0QE

2 Likes