Hello.
I am trying to create a certificate for a website with a different port than the default, which is 80.
For example I go to web site and create a site with the domain
domain.com
I go to config of that domain and again to config and change the listen 80;
for
listen 25684
I save the changes and go to the URL domain.com:25684 and it works perfectly.
Now I go back to the web site configuration and I go again to config and I go to SSL and ask for the Let's Encrypt certificate, after a few seconds it gives me an error. But it is normal because it is asking for the certificate for port 80 instead of port 25684 that I put before.
I have also tried first to ask for SSL on the default port 80 and it applies perfectly. But when I change the port to 25684 it doesn't work and it goes directly to the ssl port 443 as is logical.
How can I do this?
For example in the aapanel control panel you put a certificate to port 7800
I mean, I enter for example: https://domain.com:7800/jkasdj
And it works perfectly with ssl certificate
How does aapanel do it in the administration panel to put ssl to a different port?