Problems with python-nss get_cert_nicknames

2015-01-09 Thread Roger Dunn
I need to enumerate the certs in my local store, and in my testing, only user certs can be enumerated using the get_cert_nicknames api. It also appears to be the only exposed api for listing certs in the db. I'm using the ver 0.12 version of python-nss. The function get_cert_nicknames takes a

Re: Problems with python-nss get_cert_nicknames

2015-01-09 Thread Roger Dunn
On Friday, January 9, 2015 at 1:36:51 PM UTC-5, John Dennis wrote: On 01/09/2015 08:07 AM, Roger Dunn wrote: I need to enumerate the certs in my local store, and in my testing, only user certs can be enumerated using the get_cert_nicknames api. It also appears to be the only exposed api

OpenSSL command line to display EC key data

2017-08-16 Thread Roger Dunn
I have an EC key I am trying to extract the private+public key info I use the command line: openssl ec -in mykey.key.pem -noout -text Output is as follows: read EC key Private-Key: (256 bit) priv: 1 (0x1) pub: x x

Re: Java keytool certgen - Alertnative Subject Name

2017-05-24 Thread Roger Dunn
That did the trick... thanks. -dname "C=US,ST=CA,L=Cupertino,O=Apple\ Computer,OU=MyUnit,CN=MyServer,OID.2.5.4.13=1495543419" -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto

Java keytool certgen - Alertnative Subject Name

2017-05-23 Thread Roger Dunn
We are moving from OpenSSL to Java to handle CSRs for our CA. Our devices require a custom 'description' field as part of the Subject sequence. (Related link) https://linux.die.net/man/3/x509_name_get_text_by_nid The following command line fails (we are using a HSM but that's not relevant to