Re: PHP openssl_x509_parse extensions=subjectAltName

2012-05-13 Thread Thomas Anderson
...@evry.com T +47 75 12 81 61 M +47 909 15 267 -Opprinnelig melding- Fra: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] På vegne av Thomas Anderson Sendt: 8. mai 2012 14:49 Til: openssl-users@openssl.org Emne: Re: PHP openssl_x509_parse extensions

Re: PHP openssl_x509_parse extensions=subjectAltName

2012-05-13 Thread Thomas Anderson
On Sun, May 13, 2012 at 2:00 PM, Jeffrey Walton noloa...@gmail.com wrote: On Sun, May 13, 2012 at 1:55 PM, Thomas Anderson zeln...@gmail.com wrote: openssl probably just doesn't recognize that OID.  Here's what phpseclib (the latest SVN) shows for that particular extension:    [8] = Array

Re: PHP openssl_x509_parse extensions=subjectAltName

2012-05-08 Thread Thomas Anderson
Can you post the certificate in question? I'm a bit curious as to how phpseclib's File_X509 would parse it. eg. [?php] include('File/X509.php'); $x509 = new File_X509(); print_r$x509-loadX509($_SERVER['SSL_CLIENT_CERT'])); [/?php] On Tue, May 8, 2012 at 7:01 AM, Johansen Daniel

how do you create signatures in OpenSSL?

2010-03-17 Thread Thomas Anderson
According to http://linuxmanpages.com/man1/rsautl.1.php, you can sign data with OpenSSL. My question is how? I tried to sign my private key and got the following error: ubu...@ubuntu:~$ openssl rsautl -sign -in rsa.txt -inkey rsa.txt -out sig Enter pass phrase for rsa.txt: RSA operation error

how do you create signatures in OpenSSL?

2010-03-17 Thread Thomas Anderson
According to http://linuxmanpages.com/man1/rsautl.1.php, you can sign data with OpenSSL. My question is how? I tried to sign my private key and got the following error: ubu...@ubuntu:~$ openssl rsautl -sign -in rsa.txt -inkey rsa.txt -out sig Enter pass phrase for rsa.txt: RSA operation error