This error might occur due to the type of SSL certificate you're using. If you're using a self-signed certificate, you might need to obtain a certificate signed by Confluence Atlassian.
What's an SSL certificate?
Secure Sockets Layer (SSL) certificates provide secure, encrypted communications between a website and an Internet browser.
If you're still having trouble with errors on your JIRA widgets, get in touch.