I am writing an experimental tool and I need to generate an SSL server
on the fly. Needless to say, NSS seams like the perfect choice but
here is where I am stuck.

SSL_ConfigSecureServer excepts a cert a key and a type. I've tried to
look into certutil to see how these are generated but I find it really
confusing. Can someone point me towards the right direction how to
make these stuff in memory without the need to use the certutill?

I just need to generate a random CERTCertificate, the corresponding
SECKEYPrivateKey. I can get the type myself.

Your help is much appreciated.
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to