Why am I getting an error while saving documents over HTTPS URL scheme?

I get an error while saving documents over HTTPS URL scheme. What am I doing wrong?

You will get save document error present over HTTPS URL scheme in any of the following cases:
  1. SSL Certificate of your saveurl does not match your registered domain name. Please check the authenticity of your SSL Certificate from the website: https://www.digicert.com/help/

  2. Your saveurl SSL Certificate is not part of either Mozilla's trusted certs or the latest JDK's certs supported by Zoho. List of supported Mozilla certs can be found in the certdata.txt file.

  3. There could also be SSL handshake error due to which the save may fail. It is either because of, the server certificate chain is incomplete or the Java's trust store doesn't trust the server's root certificate. In most of the cases, the server's certificate chain is incomplete. 

Reason for the issue:

When a client (browser) connects to a server, it needs to verify the certificate chain provided by the server to establish a secure connection (HTTPS). This is done using a list of trusted Certificate Authority (CA) certificates maintained in the browser. Similar to this, there is a cacerts file in the application's JDK (who acts as a client) consists of a list of trusted CA certificates. 

When Java cannot build the certificate chain of the server during handshake process either because of, the server certificate chain is incomplete or the cacerts file doesn't trust the server's certificate, "javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target." exception is thrown.

  1. For the domain example.com, the certificate chain is 'example.com' (Leaf or server certificate - issued by intermediate - sent by server) 
  2. Go Daddy Secure Certificate Authority - G2   (Intermediate certificate - issued by root - to be sent by server)
  3. Go Daddy Root Certificate Authority - G2   (Root certificate - self signed - in our JDK cacerts file)
Here, the server has not sent the intermediate certificates.

To fix the issue, you should correct the server's SSL certificate chain configurations, by reinstalling the server certificate and the intermediate certificates correctly.

    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION





                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources