Any way to use netPut/netPost with SSL and/or Kerberos?

Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
pwbarrett
Posts:9
Joined: Mon Jan 31, 2011 10:18 am

Any way to use netPut/netPost with SSL and/or Kerberos?

Post by pwbarrett »

Hello Community,

In a CTRL script, I know the httpServer supports both Negotiate-authentication and SSL encryption.
Has anybody figured out how to do this as a client instead of as a server?
I am currently using netPut and netPost calls, and can do Basic authentication, but that is all.

Since the documentation for netPut talks about the ignoreSslErrors keyword, I would think that implies that you can do SSL somehow.
I'm hoping the library functions will just deal with this, like they just deal with redirection.
Or I could make a CTRL extension if necessary. (This will be running on Linux, by the way.)

Any suggestions would be welcome.

-- Paul Barrett

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Any way to use netPut/netPost with SSL and/or Kerberos?

Post by Gertjan van Schijndel »

To use SSL just use a HTTPS url.

pwbarrett
Posts:9
Joined: Mon Jan 31, 2011 10:18 am

Re: Any way to use netPut/netPost with SSL and/or Kerberos?

Post by pwbarrett »

Thanks!
But what about certificates? I see the documentation about doing this for the server-side? i.e. a certificate.pem file in the /config folder, but for a client?

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Any way to use netPut/netPost with SSL and/or Kerberos?

Post by mkoller »

Not possible in 3.16, but will be in 3.17

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Any way to use netPut/netPost with SSL and/or Kerberos?

Post by Gertjan van Schijndel »

With the net* functions (< 3.17) it is not possible to pass a client certificate to the server, see also the netGet JSON function topic.

I do not know if the topic starter of that topic has succeeded in making his control extension. In his follow up topic 'Ctrl Extention Thread WaitCondition' he did mention if he succeeded.

5 posts • Page 1 of 1