Re: Access NSS (shared) DB with OpenSSL?

2016-11-05 Thread David Woodhouse
On Sat, 2016-11-05 at 13:16 +0100, Matthias B. wrote: > > >    int rc = 0; > >    PKCS11_CTX *pkcs11_ctx; > >    pkcs11_ctx = PKCS11_CTX_new(); > >    PKCS11_CTX_init_args(pkcs11_ctx, > "configdir='C:/Users/Username/AppData/Roaming/Mozilla/Firefox/Profiles/5wzkdcjx.default' > certPrefix=''

Re: Access NSS (shared) DB with OpenSSL?

2016-11-05 Thread Matthias B.
Thanks again. I looked into the things you told me, but i'm stuck. I'm using libp11 and tried it that way: int rc = 0; PKCS11_CTX *pkcs11_ctx; pkcs11_ctx = PKCS11_CTX_new(); PKCS11_CTX_init_args(pkcs11_ctx,

Re: Access NSS (shared) DB with OpenSSL?

2016-11-03 Thread Matthias B.
thanks again for you explanation and hints. So first good point ist, that it is possible to access the NSS Database with OpenSSL library. I will take a look into the hints you gave me like curl, wpa_supplicant, etc. 2016-11-03 16:58 GMT+01:00 David Woodhouse : > On Thu,

Re: Access NSS (shared) DB with OpenSSL?

2016-11-03 Thread David Woodhouse
On Thu, 2016-11-03 at 13:41 +0100, Matthias B. wrote: > Thanks ro reply and thanks for the information, but is there a way to > access the NSS (shared) Database with OpenSSL in C++? The Code you > told me is using the binary files. So first i want a solution for > accessing it in C++-Code. Is it

Re: Access NSS (shared) DB with OpenSSL?

2016-11-03 Thread Matthias B.
Thanks ro reply and thanks for the information, but is there a way to access the NSS (shared) Database with OpenSSL in C++? The Code you told me is using the binary files. So first i want a solution for accessing it in C++-Code. Is it possible in a (easy) way? 2016-11-03 1:37 GMT+01:00 David