Re: Certificates in PowerBuilder - WeOnlyDo Discussion board

Re: Certificates in PowerBuilder (General questions)

by wodDamir, Friday, September 04, 2009, 09:26 (5558 days ago) @ markw

Hi Mark,

I believe I replied to you on our ticketing system. However, you should try something like this:

[code]oleObject PBObject
PBObject = create oleObject


PBObject.ConnectToNewObject( WeOnlyDo.Certificate.1 )


PBObject.LoadKey( C:key.txt )
messagebox( key ,String(PBObject.PublicKeyOpenSSH))
ole_1.object.Login = your_login
ole_1.object.Password = your_password
ole_1.object.Blocking = 1
ole_1.object.HostName = your_hostname
ole_1.object.Certificate = PBObject
ole_1.object.Connect
[/code]

Hope this helps.

Regards,
Damba


Complete thread: