LetsEncrypt Challenge Errors -> Ubuntu 20.04 + WikiJS on Docker 8080/8443 + Apache #4849
Unanswered
synth3sis
asked this question in
Help / Questions
Replies: 1 comment
-
Did you ever figure this out? I am running Docker on my Mac and letsencrypt is failing for what I believe port 80 is already open on the Mac. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm installing WikiJS using docker on my webserver (which is already hosting some websites) with apache on it, so ports 80 and 443 already taken.
I have encountered a LetsEncrypt error during the process of final installation. So apparently everything works fine unless I try to use the docs given command to create the docker with LetsEncrypt certificate generation. I'll explain better with my (following) configuration.
Commands executed to create and run containers:
Until now, everything works fine. From now on I keep tracks of
docker logs wiki
to check every step.Now I go to http://wiki.mydomain.com:8080 and I find, as expected, the initial configuration page.
When I click on "Install" and I check the docker logs, I get the following error messages:
And on the redirected web interface i get this:
Just for testing, if I stop apache daemon (so now ports 80 and 443 are available), and I recreate the containers mapping the ports on the standard ones
80:3000
and443:3443
, everything works fine, letsencrypt challenge succeeds and I can start to create pages.For obvious reasons I cannot turn permanently off my apache webserver and I prefer not to use a reverse proxy and run wikijs on my host's system.
Is there a way to create and launch the container with letsencrypt methods but running the challenge against my not-standard 8080 and 8443 ports?
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions