ssl on port 2222

ricardo santos

Verified User
Joined
Sep 23, 2015
Messages
17
Location
banisaeed.com
hi

i enabled ssl on port 2222
but https is yellow and browser Warning: Potential Security Risk Ahead
how to fix this ?
and how to redirect http to https on port 2222 ?

thank
 

ricardo santos

Verified User
Joined
Sep 23, 2015
Messages
17
Location
banisaeed.com
Hopefully you did it the correct way.

First use this:
https://help.directadmin.com/item.php?id=648

and after that use this one:
https://help.directadmin.com/item.php?id=629

The directadmin.conf changes will redirect http to https on port 2222 if all is correct.
Thanks, but I don't want to use redirect to hostname
Now, control panel open with https, but if opened with http, redirect automatically to https://ipaddress:2222 , i want redirect to https://mydomain:2222
i used this guide: https://help.directadmin.com/item.php?id=648
and yellow browser Warning There is still !

View attachment 2556
 
Last edited:

wattie

Verified User
Joined
May 31, 2008
Messages
991
Location
Bulgaria
You can actually order SSL certificate for IP address too; however this is very rarely used. So go forward with the hostname - it's more easier for people anyway.
 
Top