Re: Not sure if I first need to do a NEW or not - WeOnlyDo Discussion board

Re: Not sure if I first need to do a NEW or not (General questions)

by woddrazen, Monday, April 19, 2010, 13:37 (5331 days ago) @ dirk

Dirk,


I don't think you need this. Something like this should work:
[code] Dim cert As New Certificate
Dim Location As CertLocation

Set Location = New CertLocation
Set cert = Location(CurrentUser).item(iSSLCertStore).item(iSSLCertSubject)

Dim http1 As wodHttpDLXCom
Set http1 = New wodHttpDLXCom

Set http1.Certificate = cert

Debug.Print http1.Certificate.CommonName[/code]
Drazen


Complete thread: