SSL key not found
rodskin opened this issue · 1 comments
rodskin commented
Bug description
Hi, maybe I did something wrong
In my docker compose I added
environment:
- FOUNDRY_SSL_CERT=/etc/ssl/certs/MYCERT.crt
- FOUNDRY_SSL_KEY=/etc/ssl/certs/MYKEY.pem
I can see the cert when I launch FVTT but can't find the key...
{
"awsConfig": null,
"compressSocket": false,
"compressStatic": false,
"cssTheme": "foundry",
"fullscreen": false,
"hostname": null,
"hotReload": false,
"language": "en.core",
"localHostname": null,
"passwordSalt": null,
"port": 30000,
"protocol": null,
"proxyPort": null,
"proxySSL": false,
"routePrefix": null,
"sslCert": "******/MYCERT.crt",
"sslKey": null,
"updateChannel": "stable",
"upnp": false,
"upnpLeaseDuration": null,
"world": null,
"deleteNEDB": false,
"noBackups": false,
"serviceConfig": null
}
I triple checked the error
Error: ServerConfiguration validation errors: sslKey: File path "/etc/ssl/certs/MYKEY.pem" does not exist
What did I do wrong?
Have a nice day.
Steps to reproduce
adding my cert + key in environments of docker compose
Expected behavior
should be able to use HTTPS
Container metadata
com.foundryvtt.version = "11.315"
org.opencontainers.image.authors = "markf+github@geekpad.com"
org.opencontainers.image.created = "2023-11-07T19:42:47.066Z"
org.opencontainers.image.description = "An easy-to-deploy Dockerized Foundry Virtual Tabletop server."
org.opencontainers.image.licenses = "MIT"
org.opencontainers.image.revision = "82a877c0a7bcf8beafca547314bae2373048fc1f"
org.opencontainers.image.source = "https://github.com/felddy/foundryvtt-docker"
org.opencontainers.image.title = "foundryvtt-docker"
org.opencontainers.image.url = "https://github.com/felddy/foundryvtt-docker"
org.opencontainers.image.vendor = "Geekpad"
org.opencontainers.image.version = "11.315.0"
Relevant log output
foundry_docker-foundry-1 | sslKey: File path "/etc/ssl/certs/MYKEY.pem" does not exist
foundry_docker-foundry-1 | Error: ServerConfiguration validation errors:
foundry_docker-foundry-1 | sslKey: File path "/etc/ssl/certs/MYKEY.pem" does not exist
Code of Conduct
- I agree to follow this project's Code of Conduct