• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Need help with NGROK TLS to Websockets via SSL

pandpan

Basic Pleskian
Hello!

I am not too sure how to explain my current situation (or if it is in the right place to ask)... but i will try.

I have websockets listening into ports - Primarily allowing log file streaming. Which I wish to secure with SSL.

I decided to get NGROK to help me give access to my select users. Now I am trying to get NGROK TLS (SSL) connection to work but i keep getting an SSL mismatch error of some kind. You see, with ngrok you can connect a websocket to an address. In this case my own address. This requires a CNAME to be connected to the domain in question. Which brings in issues.

I first tried making an A record to example: subdomain.domain.com but that didnt work, so then i decided to make a proper subdomain with Lets-Encrypt attached to it. However when i try to install it with the "www" L-E wont work as it isn't pointing to itself (via CNAME) for that SSL check to work. Then, if i try to not use the www and connect the TLS to the SSL certificate it says something like 'www.sub.domain.com is not sub.domain.com'

I'm not sure which way to approach this problem as some of this is done in PLESK. Any help and input would be greatly appreciated
 
Last edited:
Back
Top