SSL certificate issue
Our code throws and exception when trying to call Smartsheet API:
SSL Exception: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
The Rest Client has a logic to verify certificate using the windows system certificate store . It looks to me the CA certificate for Smarthsheet API is not available in the truststore.
My question is: where can I download the root/intermediate CA certificate for Smartsheet API so that I can import them into the truststore?
Or am I looking at wrong direction?
Answers
-
Hi @dongluo
In doing a quick search of the StackOverflow community, other users have said that the most common cause of this error is an out of sync date/time. They suggested to check what your machine's local time is and use commands like ntp or chrony to sync your time. (See this post).
There's also another post here that may help: Smartsheet - An error occurred during SSL handshake
Please note that Smartsheet doesn't support self-signed certificates, it must be signed by a third party CA (see the Note in this section of the API documentation).
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi @Genevieve P. ,
Yes, I did read that StackOverflow post. The date/time on the machine looks good to me.
Anyway, my colleague managed to find the required root and intermediate CAs and imported them into Windows trust store. Our code is working now.
-
Thanks for letting me know! I'm glad you were able to get your code working.
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives