How to create a certificate
From: Daniel Engels (no_spam_at_engelsnet.info)
Date: 11/30/04
- Next message: Prassi: "Re: Creating a custom CSP"
- Previous message: richard: "Remote login after running NetUSerChangePassword()"
- Next in thread: Sektor: "Re: How to create a certificate"
- Reply: Sektor: "Re: How to create a certificate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 30 Nov 2004 03:59:57 -0800
Hello,
I'm not familiar with using scripts to creating certificates.
What I want to do is, that a administror can run a script then fill
out a form with the name, email-adress...
After the input, I hope the script create a private and a public key
and save it in a file. Then the public key have to signed from a CA. I
found a script, that make the request:
...
strReq = Enroll.createPKCS10( strDN, "1.3.6.1.4.1.311.2.1.21")
if ( Err.Number <> 0 ) then
MsgBox("Error in call to createPKCS10 " & Err.Number)
err.clear
else
msgbox("Submitting request " & strReq)
nDisp = Request.Submit( CR_IN_BASE64 OR CR_IN_PKCS10, _
strReq, _
"", _
"testca\TestCA")
....
But I'm don't think, that this is, what I need. The Request appears in
the CA. But the createPKCS10-Method creates only a request a not a
public and private key.
For the key I need to use a template. How I can create a key using a
template?
Please give me some hints, how I can do this!
Sorry, for my poor english. I hope you understand, what I want to
know!
Thanks a lot!
Daniel
- Next message: Prassi: "Re: Creating a custom CSP"
- Previous message: richard: "Remote login after running NetUSerChangePassword()"
- Next in thread: Sektor: "Re: How to create a certificate"
- Reply: Sektor: "Re: How to create a certificate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|