MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: tochits on 2017-03-27, 06:38:32
-
Why are the so many SSL files in this directory? Is this by design or is this just because of default config files not being updated?
-rw-r--r-- 1 root root 1.4K Mar 27 12:24 venet0-0___localhost.ca
-rw-r--r-- 1 root root 1.4K Mar 27 12:24 venet0-0___localhost.crt
-rw-r--r-- 1 root root 1.7K Mar 27 12:24 venet0-0___localhost.key
-rw-r--r-- 1 root root 3.1K Mar 27 12:24 venet0-0___localhost.pem
-rw-r--r-- 1 root root 1.4K Mar 27 12:21 venet0_0___localhost.ca
-rw-r--r-- 1 root root 1.4K Mar 27 12:21 venet0_0___localhost.crt
-rw-r--r-- 1 root root 1.7K Mar 27 12:21 venet0_0___localhost.key
-rw-r--r-- 1 root root 3.1K Mar 27 12:21 venet0_0___localhost.pem
-rw-r--r-- 1 root root 1.4K Mar 27 12:21 venet0___localhost.ca
-rw-r--r-- 1 root root 1.4K Mar 27 12:21 venet0___localhost.crt
-rw-r--r-- 1 root root 1.7K Mar 27 12:21 venet0___localhost.key
-rw-r--r-- 1 root root 3.1K Mar 27 12:21 venet0___localhost.pem
The list is after I ran an update. It was my understanding that only the file "venet0-0___localhost.*" were actually being used by the server. The others (like "venet0_0___localhost.*") were recreated I think from the default apache config:
grep SSL /opt/configs/apache/conf/defaults/init.conf
SSLCertificateFile /home/kloxo/ssl/venet0_0___localhost.pem
SSLCertificateKeyFile /home/kloxo/ssl/venet0_0___localhost.key
SSLCACertificatefile /home/kloxo/ssl/venet0_0___localhost.ca
-
Yes, it's default ssl (depend on your network type like etch0 or venet0). It's just copy from default ssl in ../file/ssl.
-
Ok I get that these are copied from defaults. But why are there 2 different sets of files?
One set is named venet0-0 (this is "venet0 hyphen 0"); the other set is venet0_0 (this is "venet0 underscore 0).
The device name that the kloxo database uses to identify uses the hyphenated name:
MariaDB [kloxo]> select nname, devname from ipaddress;
+----------------------+----------+
| nname | devname |
+----------------------+----------+
| venet0-0___localhost | venet0-0 |
+----------------------+----------+
1 row in set (0.00 sec)
and yet the default web configs use the underscored name. I was wondering why the change in naming convention?
-
I will investigate about it. Look like 'venet0_0' is old-fashion (from Kloxo official).