What certificate fields are looked when Openssl generates invalid_purpose?
I am generating the certificates using OpenSSL.
First I generate a master certificate, followed by client certificate. Now when I am trying to connect with server, it generates Invalid_Purpose.
There’s an extension
keyUsagewhich specifies what can be done with the certificate. Note that some programs are not using this field.From X509 documentation:
Man page x509v3_config(5) lists possible values for the parameter and also for another called
extendedKeyUsage: