POST error using self signed certificates
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
POST error using self signed certificates
We need to secure our HTTP traffic so we are implementing SSL.
However, Revolution refuses to post my data to the requested URL.
The result is set to:
error -Error with certificate at depth: 2 issuer = /C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority subject = /C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority err 19:self signed certificate in certificate chain
It definitely is a "self signed certificate" but I trust it and need to use it.
Does anyone know a way around this error to get Livecode post my data to this 'untrusted server'?
Thanks in advance,
Sytse Zuidema
However, Revolution refuses to post my data to the requested URL.
The result is set to:
error -Error with certificate at depth: 2 issuer = /C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority subject = /C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority err 19:self signed certificate in certificate chain
It definitely is a "self signed certificate" but I trust it and need to use it.
Does anyone know a way around this error to get Livecode post my data to this 'untrusted server'?
Thanks in advance,
Sytse Zuidema
Re: POST error using self signed certificates
Hi Sytse,
put this before your post command:
...
libUrlSetSSLVerification false
post whatever to url("https://......")
...
Best
Klaus
put this before your post command:
...
libUrlSetSSLVerification false
post whatever to url("https://......")
...
Best
Klaus
Re: POST error using self signed certificates
Klaus, thank you very much: this works perfect!
I knew it should not be too hard but I could not find the libUrlSetSSLVerification in the documentation.
Again thanks, Sytse
I knew it should not be too hard but I could not find the libUrlSetSSLVerification in the documentation.
Again thanks, Sytse
Re: POST error using self signed certificates
Hi Sytse,
your are welcome!
Unfortunatyl this is one of the rare things that are not documented, heaven knows why!?
May I ask if you are dutch?
Your name sounds like that
Best from germany
Klaus
your are welcome!

Unfortunatyl this is one of the rare things that are not documented, heaven knows why!?
May I ask if you are dutch?
Your name sounds like that

Best from germany
Klaus
Re: POST error using self signed certificates
I most certainly am Dutch!
greetings from Amsterdam, Sytse
(just added my location)
greetings from Amsterdam, Sytse
(just added my location)
Re: POST error using self signed certificates
Ja in dit geval goedenavond Stytse en welkom in deze forum
Groetjes
Klaus

Groetjes
Klaus
Re: POST error using self signed certificates
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode