hi, thanks for the answer.
i've posted here because the error message point me to this forum, everything related to the proxy works fine (exept for the ssl part), i can access my web pages from outside my LAN.
the log is as following :
[root@docker-6b08fdb2212a:/tmp/letsencrypt-log]# cat letsencrypt.log
2023-12-22 16:48:52,270:DEBUG:certbot._internal.main:certbot version: 2.5.0
2023-12-22 16:48:52,270:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2023-12-22 16:48:52,270:DEBUG:certbot._internal.main:Arguments: ['--config', '/etc/letsencrypt.ini', '--work-dir', '/tmp/letsencrypt-lib', '--logs-dir', '/tmp/letsencrypt-log', '--cert-name', 'npm-4', '--agree-tos', '--authenticator', 'webroot', '--email', 'arndel90@hotmail.com', '--preferred-challenges', 'dns,http', '--domains', 'plex.ardelplanque.ovh']
2023-12-22 16:48:52,270:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2023-12-22 16:48:52,279:DEBUG:certbot._internal.log:Root logging level set at 30
2023-12-22 16:48:52,280:DEBUG:certbot._internal.plugins.selection:Requested authenticator webroot and installer None
2023-12-22 16:48:52,282:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * webroot
Description: Saves the necessary validation files to a .well-known/acme-challenge/ directory within the nominated webroot path. A seperate HTTP server must be running and serving files from the webroot path. HTTP challenge only (wildcards not supported).
Interfaces: Authenticator, Plugin
Entry point: webroot = certbot._internal.plugins.webroot:Authenticator
Initialized: <certbot._internal.plugins.webroot.Authenticator object at 0x7faf89324f60>
Prep: True
2023-12-22 16:48:52,282:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.webroot.Authenticator object at 0x7faf89324f60> and installer None
2023-12-22 16:48:52,282:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2023-12-22 16:48:52,348:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2023-12-22 16:48:52,349:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443
2023-12-22 16:48:52,394:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/opt/certbot/lib/python3.7/site-packages/urllib3/connectionpool.py", line 468, in _make_request
self._validate_conn(conn)
File "/opt/certbot/lib/python3.7/site-packages/urllib3/connectionpool.py", line 1097, in _validate_conn
conn.connect()
File "/opt/certbot/lib/python3.7/site-packages/urllib3/connection.py", line 658, in connect
assert_fingerprint=self.assert_fingerprint,
File "/opt/certbot/lib/python3.7/site-packages/urllib3/connection.py", line 793, in _ssl_wrap_socket_and_match_hostname
tls_in_tls=tls_in_tls,
File "/opt/certbot/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 471, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
File "/opt/certbot/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 515, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib/python3.7/ssl.py", line 412, in wrap_socket
session=session
File "/usr/lib/python3.7/ssl.py", line 886, in _create
self.do_handshake()
File "/usr/lib/python3.7/ssl.py", line 1150, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1056)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/certbot/lib/python3.7/site-packages/urllib3/connectionpool.py", line 803, in urlopen
**response_kw,
File "/opt/certbot/lib/python3.7/site-packages/urllib3/connectionpool.py", line 492, in _make_request
raise new_e
urllib3.exceptions.SSLError: [SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1056)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/certbot/lib/python3.7/site-packages/requests/adapters.py", line 497, in send
chunked=chunked,
File "/opt/certbot/lib/python3.7/site-packages/urllib3/connectionpool.py", line 846, in urlopen
method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/opt/certbot/lib/python3.7/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by SSLError(SSLError(1, '[SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1056)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/certbot", line 8, in <module>
sys.exit(main())
File "/opt/certbot/lib/python3.7/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1864, in main
return config.func(config, plugins)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1579, in certonly
le_client = _init_le_client(config, auth, installer)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 830, in _init_le_client
acc, acme = _determine_account(config)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 739, in _determine_account
config, account_storage, tos_cb=_tos_cb)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 207, in register
acme = acme_from_config_key(config, key)
File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 72, in acme_from_config_key
directory = acme_client.ClientV2.get_directory(config.server, net)
File "/opt/certbot/lib/python3.7/site-packages/acme/client.py", line 331, in get_directory
return messages.Directory.from_json(net.get(url).json())
File "/opt/certbot/lib/python3.7/site-packages/acme/client.py", line 706, in get
self._send_request('GET', url, **kwargs), content_type=content_type)
File "/opt/certbot/lib/python3.7/site-packages/acme/client.py", line 648, in _send_request
response = self.session.request(method, url, *args, **kwargs)
File "/opt/certbot/lib/python3.7/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/opt/certbot/lib/python3.7/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/opt/certbot/lib/python3.7/site-packages/requests/adapters.py", line 517, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by SSLError(SSLError(1, '[SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1056)')))
2023-12-22 16:48:52,397:ERROR:certbot._internal.log:An unexpected error occurred:
2023-12-22 16:48:52,397:ERROR:certbot._internal.log:requests.exceptions.SSLError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by SSLError(SSLError(1, '[SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1056)')))