SSL Certificate in WodTelnetDLX - WeOnlyDo Discussion board

SSL Certificate in WodTelnetDLX (General questions)

by kpl@tshinc.com, Wednesday, September 29, 2004, 22:01 (7361 days ago)

Hi,
I can get SSL to work by :

Dim location As New CertLocation
Set Telnet1.Certificate = location(CurrentUser).Item( Root ).Choose( Select , Please select client certificate , Me.hWnd)

But I want to store the Storename Root and Certificate name TSH and access the cerificate transparently (without using the choose method). I haven't been able to find the right syntax. Can you point me in the right direction ?

Thank you.

Re: SSL Certificate in WodTelnetDLX

by wodSupport, Wednesday, September 29, 2004, 23:02 (7361 days ago) @ kpl@tshinc.com

Kpl,

yes you can do that. I suggest you export it to a file - for example in PFX file, and then use certificate's LoadKey and Load methods to open it from a file. Or you could use X509 (PEM) format for loading.

Is your private key exportable from Windows registry? If so, it is easy to export it to PFX.

Kreso