I’m using letsencrypt and freshly installed graylog, now trying to secure it with https. Added the graylog.example.com domain, so certificate is ready to install. Then used the following command to convert certbot’s generated “pem” file to PKCS#8:
openssl pkcs8 -topk8 -inform PEM -outform PEM -in privkey.pem -out privkey-pkcs8.pem -nocrypt
I also tried similar versions, but I always end up with
ValidationException: Unreadable or missing HTTP private key: /etc/letsencrypt/live/example.com/privkey-pkcs8.pem
I’m aware this is a very basic step, but Google wouldn’t help me So what am I missing?