Hello. I have built own certificate authority based on OpenSSL and I have a recommendation for my linux users, howto they can ask for certificate. I need have a program for my Windows users too. I tried to use component CEnroll, but I'm not able to set any extensions to the certificate request. For example: I want to set the Key Usage extension(OID 2.5.29.15 and the first four bits) and I use the method AddExtensionToRequest in this form (Visual Basic 6.0):
Dim objXen as CENroll objXen.addExtensionToRequest 1, "2.5.29.15", "1111" or objXen.addExtensionToRequest 1, "2.5.29.15", "MTEx" (Base64 coded) strDN="C=CZ,O=abc,OU=Staff,CN=xxx yyy" strReq = objXen.createPKCS10(strDN, "") But in the result request is the Key Usage extension not set. Any help, links to help page or code snippet in Visual Basic (preferred) or C++ is welcome. Thanks, Rudolf Wolf ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]