Commit Graph

22 Commits

Author SHA1 Message Date
Kienan Stewart 8af6b0d1f6 Fix condition check for replacing the chainfile statement in vhost templates 2018-10-22 16:54:31 +02:00
Benjamin Sonntag 230d3ffdd8 [fix] missing global in apache conf 2018-07-17 18:25:14 +02:00
Benjamin Sonntag 1182cada25 [fix] now write ssl cert as ROOT, not as alterncpanel 2018-07-17 18:16:56 +02:00
Benjamin Sonntag cdf07913da [fix] misc bugs in update_domaines.php, 2018-07-17 16:59:54 +02:00
Benjamin Sonntag ed7aaa3151 [enh] first version of class-and-hooks-based update_domains.php, includes ssl certficate mechanism 2018-07-08 13:01:35 +02:00
Benjamin Sonntag 5489387103 [fix] misc bugs in m_ssl (incorrect table and certificate name) + restart instead of reload if necessary in src/reload-certs 2018-06-24 19:02:11 +02:00
Benjamin Sonntag 649b2c55d6 [fix] removing the concept of shared cert in m_ssl 2018-06-24 18:38:47 +02:00
Benjamin Sonntag 9e4021141a [fix] fixing apache conf to use new cert mode + fixing bug in ssl : number of bound variables does not match number of tokens 2018-06-24 18:34:42 +02:00
Benjamin Sonntag bb3bd0b14c [enh] ssl : reload-certs for sysadmin + misc ssl fixes (including set_variables) 2018-06-24 17:04:55 +02:00
Benjamin Sonntag 5a3b9c7a13 [fix] next ssl step: we start to use /etc/ssl/(certs|private)/alternc-<servicename>.(pem|key) as location for system service certificates, also, trying to use PdoException in case of PDO error (better for bug tracking) 2018-06-24 15:43:23 +02:00
Benjamin Sonntag d13d093c09 [fix] misc ssl code issues 2018-06-23 17:13:36 +02:00
Benjamin Sonntag f9d2c783e5 [fix] alternc-ssl + dom global missing 2018-06-23 17:11:57 +02:00
Benjamin Sonntag a2e22a8d1f [fix] we check FIRST for certificate already existing in ssl->import_check() 2018-06-23 16:37:11 +02:00
Benjamin Sonntag 152551a8bb [fix] removing unused deduplicate in ssl 2018-06-23 16:31:11 +02:00
Benjamin Sonntag ac841451bc [enh] ssl class should work now, including system certificates and auto renewal of vhosts etc. 2018-06-23 16:28:50 +02:00
Benjamin Sonntag 8232c1a318 [enh] moving hosting_vhost-ssl.sh to be launched systematically by update_domains.sh, and renamed to update_cert.sh 2018-06-23 14:59:38 +02:00
Benjamin Sonntag 9587ff1bfc [enh] new generation of the m_ssl class: less code, no shared or ssl_action, simpler searchBestCert(), no duplicates in /var/lib/alternc/ssl/private/ etc. [NEED TESTS] 2018-06-23 13:05:10 +02:00
Benjamin Sonntag 6007a3dea2 adding provider to certificates + fixing cert search function 2018-06-22 22:49:43 +02:00
Benjamin Sonntag 3dbb4d68ac function to get the list of valid certs for a fqdn 2018-06-22 19:38:05 +02:00
Benjamin Sonntag 997795b935 starting to implement ssl best cert finder 2018-06-22 19:04:03 +02:00
Benjamin Sonntag 46e21285d6 [fix] check that an imported ssl certificate doesn't already exist 2018-06-22 18:26:56 +02:00
cam.lafit c8d94d2a50 SSL massive backport
* Now we integrate all alternc-feature in native alternc
* Files are backported as waiting by alternc
* Some files was renammed or moved to follow alternc installation
process
2018-06-21 17:26:27 +02:00