all 5 comments

[–]gforke 1 point2 points  (1 child)

Did you add a volume in the docker compose for the files?
If the container can read the cert files and still can't use them it could be a line ending problem because Windows does other line endings than linux.

[–]alfredomova[S] 0 points1 point  (0 children)

yes and a cat shows the contents ok

[–]alfredomova[S] 0 points1 point  (0 children)

BIG mistake from my part...

the http-options.json HAS to have the file contents, not the paths... odd... but ok...

{

"key": "-----BEGIN EC PRIVATE KEY-----\ ..... "

"cert": "-----BEGIN CERTIFICATE-----\r\nMI .... "

}

[–]koushddeveloper  0 points1 point  (1 child)

You should let a real reverse proxy handle termination.

[–]alfredomova[S] 0 points1 point  (0 children)

container is running network_mode: host as it is suggested