I followed this guide to share the letsencrypt certificates created with swag to other container(s): linuxserver/swag - LinuxServer.io
But no matter what i do the files are never readable/usable.
In this case i’m trying to use them in docker mailserver and the directory is mounted like this:
But my mailserver container reports that these keys do not exist. I can temporarily work around this issue by manually copying these certificates to another directory.
I’ve read the guide multiple times, and I can’t seem to get this to work. Any help is appreciated.
Ohh, never mind I realize the issue. When I ran the ls command I found that those directories didn’t exist and no files were there. This is when I realized I accidentally mounted the wrong directory where my swag’s data is stored.
Sorry that’s my bad, really simple issue, I should’ve saw that. Thanks for all the help!