Skip to content
Discussion options

You must be logged in to vote

@dpaessler, I was able to reproduce the problem and understand what is happening.

In summary: An empty line at the end of the chain.pem file is what was causing the problem, preventing Nginx Ignition from correctly importing the certificate, which is a bug.

By fixing this and importing the certificate using the three separate files (cert.pem as the public key, privkey.pem as the private key, and chain.pem as the certification chain), Nginx was configured correctly. The curl command now works on tests I've made, showing the same output as Apache.

curl output before the fix
# curl -v https://importtest.lan.dillmann.dev:8443
* Host importtest.lan.dillmann.dev:8443 was resolved.
* IPv6: (none…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dpaessler
Comment options

@lucasdillmann
Comment options

Answer selected by dpaessler
@dpaessler
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants