Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- John Douglass
January 20, 2005, 10:15 pm
rate this thread
Everything works great except for the configargs optional array
openssl_csr_sign ( mixed csr, mixed cacert, mixed priv_key, int days [,
array configargs [, int serial]] )
function call is:
$config = array("x509_extensions" => "auth_only");
$userscert = openssl_csr_sign($csr, $cacert, $privkey, 365, $config,11);
where openssl.conf has an [auth_only] section of:
# These extensions are added when 'ca' signs a request.
basicConstraints = CA:FALSE
nsCertType = client
keyUsage = digitalSignature
nsComment = "Authentication Only Certificate"
extendedKeyUsage = clientAuth
A certificate is signed, but without the specified extensions.
Does anyone have any experience with using this function? or this extension?
- » problems with creating both HTML and plaintext emails
- — Previous thread in » PHP Scripting Forum