Hello everybody. I reaaaally need your help.
I have a server that will host 2 add-ons: One for hipchat and one for confluence.
Nginx will sit in front of them, having a different port for each, and both using the same SSL certificate.
The hipchat add-on works and installs correctly. But for some reason, the Confluence add-on cannot be installed, when I attempt to install it it displays the following error:
Problem accessing the file https://enevapps.com:9444.
If I click on that link, the descriptor displays correctly. The SSL certificate is OK, it is even A rated on that page that checks the SSL strength, and the Atlassian descriptor validator is correct, etc.
What’s weird though is that if I add a “credentials.json”, as you know node starts an ngrok tunnel. That ngrok tunnel CAN be installed!
I checked and I can’t see what the difference is between the ngrok hosted service and the nginx hosted service, and of course I don’t have access to the confluence logs because it is Cloud based… and the error message doesn’t really help.
I checked the HTTP requests and responses for both, and some headers differ but nothing that stands out…
What could I be doing wrong? What should I check?
Edit: I guess it MAY be a problem with the SSL. If I use the SSLPoke class as described here https://gist.github.com/4ndrej/4547029
in my local computer pointing to my server (LetsEncrypt issued SSL) it displays the error. Of course I cannot follow the procedure described there for it to ‘trust’ the certificate, since the problem is in the cloud. Pointed at another site I own which has GoDaddy cert and it connects successfully.
Can’t I use Lets Encrypt? Do I need to buy a SSL cert from GoDaddy or something like that?