payload: {"action":"created","issue":{"url":"https://api.github.com/repos/dani-garcia/bitwarden_rs/issues/758","repository_url":"https://api.github.com/repos/dani-garcia/bitwarden_rs","labels_url":"https://api.github.com/repos/dani-garcia/bitwarden_rs/issues/758/labels{/name}","comments_url":"https://api.github.com/repos/dani-garcia/bitwarden_rs/issues/758/comments","events_url":"https://api.github.com/repos/dani-garcia/bitwarden_rs/issues/758/events","html_url":"https://github.com/dani-garcia/bitwarden_rs/issues/758","id":532710852,"node_id":"MDU6SXNzdWU1MzI3MTA4NTI=","number":758,"title":"[rocket::config::error] I/O error while setting tls.certs: No such file or directory (os error 2)","user":{"login":"mbdotnet","id":58293985,"node_id":"MDQ6VXNlcjU4MjkzOTg1","avatar_url":"https://avatars2.githubusercontent.com/u/58293985?v=4","gravatar_id":"","url":"https://api.github.com/users/mbdotnet","html_url":"https://github.com/mbdotnet","followers_url":"https://api.github.com/users/mbdotnet/followers","following_url":"https://api.github.com/users/mbdotnet/following{/other_user}","gists_url":"https://api.github.com/users/mbdotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/mbdotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbdotnet/subscriptions","organizations_url":"https://api.github.com/users/mbdotnet/orgs","repos_url":"https://api.github.com/users/mbdotnet/repos","events_url":"https://api.github.com/users/mbdotnet/events{/privacy}","received_events_url":"https://api.github.com/users/mbdotnet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2019-12-04T14:13:18Z","updated_at":"2019-12-06T10:09:23Z","closed_at":null,"author_association":"NONE","body":"Hello, im getting this error while trying to set up an https Bitwarden docker server using my domain certificate. \r\n\r\n### Subject of the issue\r\nDocker Run command:\r\n```\r\ndocker run -d --name bitwarden \\\r\n  -e ROCKET_TLS='{certs=\"/ssl/mycert.pem\",key=\"/ssl/mykey.pem\"}' \\\r\n  -v /etc/letsencrypt/:/ssl/ \\\r\n  -v /bw-data/:/data/ \\\r\n  -p 443:80 \\\r\n  bitwardenrs/server:latest\r\n```\r\n\r\nDocker Logs output:\r\n```\r\n[2019-12-04 13:55:43][rocket::config::error][ERROR] I/O error while setting tls.certs:\r\n[2019-12-04 13:55:43][_][INFO] No such file or directory (os error 2)\r\nLogger failed to initialize: attempted to set a logger after the logging system was already initialized\r\n```\r\n\r\nI dont know if I missed some steps during the installation, but (if it matters) my /etc/letsencrypt folder is empty expect cli.ini.\r\nIn the generated directory /bw-data/ there is following content: db.sqlite3, icon_cache, rsa_key.der, rsa_key.pem, rsa_key.pub.der\r\nAnd in /ssl I just copied the cert and key file, otherwise it is empty.\r\n\r\n\r\n### Your environment\r\nDebian 10\r\nDocker version 19.03.5\r\nBitwarden:latest image\r\n\r\n### Steps to reproduce\r\n1.) Creating /ssl directory and copy in the cert and key\r\n2.) Run \r\n```\r\ndocker run -d --name bitwarden \\\r\n  -e ROCKET_TLS='{certs=\"/ssl/mycert.pem\",key=\"/ssl/mykey.pem\"}' \\\r\n  -v /etc/letsencrypt/:/ssl/ \\\r\n  -v /bw-data/:/data/ \\\r\n  -p 443:80 \\\r\n  bitwardenrs/server:latest\r\n```\r\n\r\n### Relevant logs\r\nFull docker log of the bitwarden container:\r\n\r\n```\r\n/--------------------------------------------------------------------\\\r\n|                       Starting Bitwarden_RS                        |\r\n|                      Version 1.13.0-adc443ea                       |\r\n|--------------------------------------------------------------------|\r\n| This is an *unofficial* Bitwarden implementation, DO NOT use the   |\r\n| official channels to report bugs/features, regardless of client.   |\r\n| Report URL: https://github.com/dani-garcia/bitwarden_rs/issues/new |\r\n\\--------------------------------------------------------------------/\r\n\r\n[2019-12-04 13:55:43][bitwarden_rs][INFO] JWT keys don't exist, checking if OpenSSL is available...\r\nOpenSSL 1.1.1d  10 Sep 2019\r\n[2019-12-04 13:55:43][bitwarden_rs][INFO] OpenSSL detected, creating keys...\r\nGenerating RSA private key, 2048 bit long modulus (2 primes)\r\n.............................+++++\r\n..........+++++\r\ne is 65537 (0x010001)\r\nwriting RSA key\r\nwriting RSA key\r\n[2019-12-04 13:55:43][bitwarden_rs][INFO] Keys created correctly.\r\nRunning migration 20180114171311\r\nRunning migration 20180217285753\r\nRunning migration 20180427155751\r\nRunning migration 20180508161616\r\nRunning migration 20180525232323\r\nRunning migration 20180601112599\r\nRunning migration 20180711181453\r\nRunning migration 20180867172114\r\nRunning migration 20180960191213\r\nRunning migration 20180919144557\r\nRunning migration 20181127152621\r\nRunning migration 20190526716151\r\nRunning migration 20191010083232\r\nRunning migration 20191117911009\r\n[2019-12-04 13:55:43][rocket::config::error][ERROR] I/O error while setting tls.certs:\r\n[2019-12-04 13:55:43][_][INFO] No such file or directory (os error 2)\r\nLogger failed to initialize: attempted to set a logger after the logging system was already initialized\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/dani-garcia/bitwarden_rs/issues/comments/562513100","html_url":"https://github.com/dani-garcia/bitwarden_rs/issues/758#issuecomment-562513100","issue_url":"https://api.github.com/repos/dani-garcia/bitwarden_rs/issues/758","id":562513100,"node_id":"MDEyOklzc3VlQ29tbWVudDU2MjUxMzEwMA==","user":{"login":"mbdotnet","id":58293985,"node_id":"MDQ6VXNlcjU4MjkzOTg1","avatar_url":"https://avatars2.githubusercontent.com/u/58293985?v=4","gravatar_id":"","url":"https://api.github.com/users/mbdotnet","html_url":"https://github.com/mbdotnet","followers_url":"https://api.github.com/users/mbdotnet/followers","following_url":"https://api.github.com/users/mbdotnet/following{/other_user}","gists_url":"https://api.github.com/users/mbdotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/mbdotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbdotnet/subscriptions","organizations_url":"https://api.github.com/users/mbdotnet/orgs","repos_url":"https://api.github.com/users/mbdotnet/repos","events_url":"https://api.github.com/users/mbdotnet/events{/privacy}","received_events_url":"https://api.github.com/users/mbdotnet/received_events","type":"User","site_admin":false},"created_at":"2019-12-06T10:09:23Z","updated_at":"2019-12-06T10:09:23Z","author_association":"NONE","body":"Yes, they're both the same.\r\n\r\n`LOG_LEVEL=trace` doesn't give me more information"}}
other: {"actor":{"display_login":"mbdotnet"}}