artefactual-labs / docker-gearmand

Docker image of gearmand based on Alpine Linux.
https://hub.docker.com/r/artefactual/gearmand/
Apache License 2.0
19 stars 13 forks source link

SSL cannot obtain certificate #9

Open h4ry45t4rk opened 3 years ago

h4ry45t4rk commented 3 years ago

Hi

I am trying to run gearman 1.1.19.1 with SSL with no luck!

gearmand: Could not open log file "/var/log/gearmand/gearmand.log", from "/", switching to stderr. (No such file or directory)
  FATAL  [  main ] SSL_CTX_use_PrivateKey_file() cannot obtain certificate /gearmand/gearmand.key -> libgearman-server/plugins/protocol/gear/protocol.cc:513
  FATAL  [  main ] SSL_CTX_check_private_key() cannot check certificate /gearmand/gearmand.key -> libgearman-server/plugins/protocol/gear/protocol.cc:519

I follow these steps to create a certificate. https://github.com/gearman/gearmand/blob/master/docs/source/gearmand/ssl.rst

Thanks.

sevein commented 3 years ago

Weird, it looks like Gearman couldn't open /gearmand/gearmand.key. Beyond the usual checks, I don't know what to suggest!