WIP: Use ACME (letsencrypt) - #15
Draft
eriksjolund wants to merge 1 commit into
Draft
Conversation
eriksjolund
force-pushed
the
use-acme
branch
from
December 31, 2024 13:01
42a37e4 to
2c9a678
Compare
Currently untested. I don't have access to any suitable test computer right now. Currently uses --certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory in mytraefik.container to facilitate testing. (Could later be removed) Use dual-stack socket in socket units. Fixes: #10 Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
eriksjolund
force-pushed
the
use-acme
branch
from
December 31, 2024 13:03
2c9a678 to
638bdf7
Compare
|
In my experience so far (based on extending example1 to use https: as soon as you add the mynet network to the container, the container is no longer able to reach the CA (letsencrypt). If you add host networking to traefik, then it can no longer reach the whoami container by name. I'm too new in this domain to figure out how to solve this. Any suggestions would be greatly appreciated. |
Owner
Author
|
I think we need to remove `Internal=true`
https://github.com/eriksjolund/podman-traefik-socket-activation/blob/4a7ab58b5778f98cf1f1a0d539dc04a51e0ba229/examples/example1/mynet.network#L3
because that configuration prevents the traefik container from connecting
to the internet.
(Traefik need connect to letsencrypt)
See also
https://github.com/eriksjolund/podman-traefik-socket-activation/blob/main/examples/example1/README.md#using-internaltrue
…On Wed, Feb 18, 2026 at 9:27 AM Pieter ***@***.***> wrote:
*pieterdt* left a comment
(eriksjolund/podman-traefik-socket-activation#15)
<#15 (comment)>
In my experience so far (based on extending example1 to use https: as soon
as you add the mynet network to the container, the container is no longer
able to reach the CA (letsencrypt). If you add host networking to traefik,
then it can no longer reach the whoami container by name. I'm too new in
this domain to figure out how to solve this. Any suggestions would be
greatly appreciated.
—
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2C7NC7DP6D5JQ5XYB4ND4MQPADAVCNFSM6AAAAACVQLS6G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSMJZGM4TEOBUGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently untested. I don't have access to any suitable test computer right now.
Currently uses
in mytraefik.container to facilitate testing. (Could later be removed)
Use dual-stack socket in socket units.
Dual-stack socket was requested in
[::]instead of0.0.0.0podman-caddy-socket-activation#17(I'm asuming dual-stack socket makes sense for traefik too)
Fixes: #10