Fichier openssl.cnf minimal
Le fichier minimal contient :
HOME = . RANDFILE = $ENV::HOME/.rnd [ req ] distinguished_name = req_distinguished_name [ req_distinguished_name ] [ v3_req ] basicConstraints = CA:FALSE keyUsage = digitalSignature, keyEncipherment extendedKeyUsage = serverAuth, clientAuth [ v3_ca ] subjectKeyIdentifier=hash authorityKeyIdentifier=keyid:always,issuer basicConstraints = critical,CA:true keyUsage = cRLSign, keyCertSign
Sinon, on a des messages d'erreur comme :
unable to find 'distinguished_name' in config problems making Certificate Request 139946800293120:error:0E06D06C:configuration file routines:NCONF_get_string:no value:../crypto/conf/conf_lib.c:275:group=req name=distinguished_nameou depuis le PHP :
error:0E06D06C:configuration file routines:NCONF_get_string:no value