Configuring Jira using proxy with HTTPS server

I want to configure my Jira instance (v8.13.1), so that it can be served using reverse proxy with HTTPS server. Currently, my server.xml file looks like this

<Connector port="8081" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
                   maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
                   maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
                   acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="true" scheme="https"
                   proxyName="jira.example.com" proxyPort="443"/>

But, after i have configured this, there is a exception thrown inside my plugin while trying to fetch data from JIRA using a public API as:

ERROR Jan 8 22:46:53 JiraLoginController.syncJiraData(396) | Unsupported or unrecognized SSL message

Can someone guide me to what the actual configuration might be or what the error states. Is it necessary to add secure=true inside server.xml?

Thanks in advance!