Can't update my server TLS Certificate

webtopia

New member
Joined
Jun 15, 2025
Messages
1
Hi All,

I was running Centos 7 on my server and was running into all sorts of issues. So decided to do a complete clean install of AlmaLinux 8. From there I ran the install of directadmin.

My plan was to recreate all my accounts and upload my websites (I only have a few).

Everything went OK but directadmin setup under https://server-xxx-xxx-xxx-xxx.da.direct:2222/. (where the Xs represent my IP address).

I want to access through https://xxx.xxx.xxx.xxx:2222

So I went about updating everything in the admin account to refer the IP address directly. The issue is the TLS certificate was setup for the https://server-xxx-xxx-xxx-xxx.da.direct:2222/ and it shows my server as insecure. So I tried to manually update it in SSH and I now have the message

x509: certificate signed by unknown authority

Is there an easy way to refresh the TLS certificate for the server using the https://xxx.xxx.xxx.xxx:2222 format or the actual server name (I have a domain registered for my server).

Not for the websites themselves they have been setup ok.

Any help much appreciated.
 
Everything went OK but directadmin setup under https://server-xxx-xxx-xxx-xxx.da.direct:2222/. (where the Xs represent my IP address)
This is a hostname to help you start.
You have to create your own FQDN hostname, best is before installation, but afterwards it can be changed, just more work.

You can fix it by following this manually very carefully, check all things mentioned!!

P.s. you won't get an SSL certificate on an ip. You need a hostname.
 
Back
Top