Skip to content
Discussion options

You must be logged in to vote
  1. It says: Invalid certificate in /opt/ejabberd/certs/server.pem: at line 53: self-signed certificate. Why a self-signed certificate is considered INVALID?

The public_key library in OTP says: specific path validation errors, such as selfsigned_peer

For that reason, the pkix library returns an error when validating the path and reports that the certificate is self-signed.

But notice that ejabberd itself shows that message as a warning, not an error.

As ejabberd uses those certificates instead of rejecting them; it's important to show at least a warning in the log to alert the admin that the certificate is self-signed, just in case this is not a desired scenario.


  1. Requesting new certifi…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lucasl84
Comment options

Comment options

You must be logged in to vote
1 reply
@lucasl84
Comment options

Answer selected by lucasl84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants