casualhost
New member
- Joined
- May 1, 2017
- Messages
- 2
Hello, Ive recently added an SSL to
I used the Let's Encrypt way of generating the SSL
I get this
So this is succesful ! ( I think )
However my https://clients.casualhost.com is still not secured.
After some googling, I think the problem lies in my custom httpd.conf file, because this is my main domain.
When i got to admin level in DA -> Extra features -> Custom HTTPD Configurations -> clients.casualhost.com and read this Contents of the nginx.conf file for clients.casualhost.com
I get
and
which is different than what my Let's Encrypt key..
I think thats the problem..
If so, how do I edit my conf file?
Thanks in advance
I used the Let's Encrypt way of generating the SSL
I get this
Generating 4096 bit RSA key for clients.casualhost.com...
openssl genrsa 4096 > "/usr/local/directadmin/data/users/admin/domains/clients.casualhost.com.key.new"
Generating RSA private key, 4096 bit long modulus
............++
................++
e is 65537 (0x10001)
Checking Certificate Private key match... Match!
Certificate for clients.casualhost.com has been created successfully!
NOTE: You are using the server IP, so your certificate and key have been saved to:
/etc/nginx/ssl.crt/server.crt
/etc/nginx/ssl.key/server.key
NOTE: You are using the server IP, so your CA Root Certificate has been saved to:
/etc/nginx/ssl.crt/server.ca
So this is succesful ! ( I think )
However my https://clients.casualhost.com is still not secured.
After some googling, I think the problem lies in my custom httpd.conf file, because this is my main domain.
When i got to admin level in DA -> Extra features -> Custom HTTPD Configurations -> clients.casualhost.com and read this Contents of the nginx.conf file for clients.casualhost.com
I get
Code:
server_name casualhost.com www.casualhost.com ;
access_log /var/log/nginx/domains/casualhost.com.log;
access_log /var/log/nginx/domains/casualhost.com.bytes bytes;
error_log /var/log/nginx/domains/casualhost.com.error.log;
root /home/admin/domains/casualhost.com/private_html;
index index.php index.html index.htm;
ssl on;
ssl_certificate /etc/nginx/ssl.crt/server.crt.combined;
ssl_certificate_key /etc/nginx/ssl.key/server.key;
include /usr/local/directadmin/data/users/admin/nginx_php.conf;
include /etc/nginx/webapps.ssl.conf;
and
Code:
server
{
listen 172.86.180.194:443 ssl;
server_name clients.casualhost.com www.clients.casualhost.com ;
access_log /var/log/nginx/domains/clients.casualhost.com.log;
access_log /var/log/nginx/domains/clients.casualhost.com.bytes bytes;
error_log /var/log/nginx/domains/clients.casualhost.com.error.log;
root /home/admin/domains/clients.casualhost.com/private_html;
index index.php index.html index.htm;
ssl on;
ssl_certificate /etc/nginx/ssl.crt/server.crt.combined;
ssl_certificate_key /etc/nginx/ssl.key/server.key;
include /usr/local/directadmin/data/users/admin/nginx_php.conf;
include /etc/nginx/webapps.ssl.conf;
}
which is different than what my Let's Encrypt key..
I think thats the problem..
If so, how do I edit my conf file?
Thanks in advance