Automating prodution of test Certificates

S

Stuart

Early days. I have:

Option Explicit
Sub TestShell()
Dim ShellPath As String, Cmd As String
'need to consider SavePath As String

'MakeCert must be in the ShellPath dir
'the original command line:
Cmd = "makecert -r -pe -n ""CN=Qwerty" & """ -b 01/01/2005 -e
01/01/2099 -eku 1.3.6.1.5.5.7.3.3 -ss myCertificates"""
ShellPath = "F:\Digital Certificates\Certificate Tools\"
Shell ShellPath & Cmd
'how will I know this succeeded?
'Dos would return a 'successful' message
End Sub

Regards.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top