in reply to Error in certificate validation. Need help!
So, what do you need help with?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error in certificate validation. Need help!
by chandantul (Scribe) on Mar 20, 2021 at 03:15 UTC | |
I will need an alternate solution through perl script as i have observered the curl command is working fine and its giving me responses and i would like to use the same instead of Rest client that i have been using in current perl script. Please check below curl command that is working fine. curl -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: SSWS $APIKEY"Can i get simmiler kind of Client code snippet that i can utlize in my existing code that can be used for perl
I am getting certificate validation error , I will need to understand that its my client issue or its a certificate validation issue and How i can resolve the certificate validation issue? The certificates are correct. As i have informed you that i am using strawbery perl for windows? What could be the real cause of this as per the debugging i am getting below error with below client.
Current Error below
| [reply] [d/l] [select] |
by Corion (Patriarch) on Mar 20, 2021 at 06:45 UTC | |
I'm a bit confused. You seem to be describing two problems. One problem is that your own code fails with SSL certificate errors. The other problem seems to be that you cannot upgrade some other module, because some module in the chain fails its test suite with SSL certificate errors. Which is it, and which module versions do you have? If it is your own code, please show the module versions and the relevant code. I see that you add a proxy to connect through in your code in run_api_call, but you don't add such a proxy to your curl command line. Maybe that is the problem? Maybe you need to update the (public) certificates using Mozilla::CA? If you are using private certificates, are you certain that the filenames are correct? | [reply] [d/l] [select] |
by chandantul (Scribe) on Mar 22, 2021 at 11:37 UTC | |
I have fixed the issue with my Java script by updating my keystore and make the keystore loadin on my script and make the SSL enabled call in order validate the API call. Do you have any fix as per my Last post for my perl script? | [reply] |
by hippo (Archbishop) on Mar 22, 2021 at 12:00 UTC | |
by chandantul (Scribe) on Mar 22, 2021 at 19:54 UTC | |
by chandantul (Scribe) on Mar 20, 2021 at 17:08 UTC | |
Hello, I am still having ceritificate validation error. Please check my Mozilla CA version below.
Please let me know what i will need to add in Rest client in order to get proper response and get pass the SSO validation | [reply] [d/l] [select] |