Re: How to do Authentication using Public key ? - WeOnlyDo Discussion board

Re: How to do Authentication using Public key ? (General questions)

by Sugi, Thursday, November 08, 2012, 10:42 (4398 days ago) @ wodDamir

Hi Damba,

I tried the http://www.weonlydo.com/HttpDLX/Help/wodHttpDLX-Certificate.html

as below
To Generate the Private key
Dim wodHttp1 As New wodHttpDLXCom
Set wodHttp1.Certificate = New Certificate
wodHttp1.Certificate.GenerateKey 0 'RSAkey
wodHttp1.Certificate.SaveKey C:mykey.txt

And Used that private key with my certificate

m_wodCertificate.LoadKey c:mykey.txt
m_wodCertificate.Load D:SS22232_Amexfsgatewaytest_certificatefsgatewaytest_certificate.crt

But i am getting an error Private key does not belong to the certificate.

Please Help!

Thanks
SUGI


Complete thread: