Support key loading from certificate file
[openssl.git] / doc / ssl / SSL_CONF_CTX_set_flags.pod
index 4e34280469964996fdb5766e61fb8dd896f479c3..fdff4706c76563b37357d7b322f8208fcea344fb 100644 (file)
@@ -40,6 +40,13 @@ both of these flags must be set.
 
 recognise certificate and private key options.
 
+=item SSL_CONF_FLAG_REQUIRE_PRIVATE
+
+If this option is set then if a private key is not specified for a certificate
+it will attempt to load a private key from the certificate file when
+SSL_CONF_CTX_finish() is called. If a key cannot be loaded from the certificate
+file an error occurs.
+
 =item SSL_CONF_FLAG_SHOW_ERRORS
 
 indicate errors relating to unrecognised options or missing arguments in