Commit Graph

231 Commits

Author SHA1 Message Date
Brice Waegeneire e3dc97d6d4 delete users even though it has some processes running 2021-09-22 10:35:10 +02:00
Ludovic Poujol ae30498030 set a uid for the user at login for ftp filtering 2021-04-28 16:21:29 +02:00
Tristan PILAT 372b00101d web-add.sh script now handles php 7.4 containers 2021-04-15 11:11:55 +02:00
Ludovic Poujol 7499f0222e Reorder lines in template fpm config for better readability 2021-02-23 11:07:29 +01:00
Ludovic Poujol 4f8b0b19fe generate longer password by default 2021-02-22 16:22:31 +01:00
Ludovic Poujol 2906ba47f1 Add (random) status path php 2021-02-22 16:12:21 +01:00
Ludovic Poujol e2acb4e9d1 web-add.sh - Add .conf at the config name for a2ensite/a2dissite
Fixes #70
2021-02-10 15:21:04 +01:00
Ludovic Poujol 234ac67634 Fix op_checkoccurencename() in web-add.sh (again)
I had it wrong (again) in 283d0bccad :-(

https://www.youtube.com/watch?v=TMy6X5cQul8
2019-10-14 10:21:05 +02:00
Ludovic Poujol 283d0bccad Fix op_checkoccurencename() in web-add.sh (again)
I had it wrong in 9523fff658 :/
2019-10-02 17:40:01 +02:00
Ludovic Poujol 6438732ea4 Add missing break.... 2019-09-06 16:26:14 +02:00
Ludovic Poujol 9523fff658 Fix op_checkoccurencename() in web-add.sh
Ensure that we can add foo.net while having www.foo.net somewhere in out 
config files
2019-08-26 11:20:44 +02:00
Ludovic Poujol f7659cee6d Fix IncludeOptional that can throw syntax errors in some cases.
With Apache < 2.4.30, IncludeOptional will throw syntax errors if the 
file designated without any pattern globbing is absent.
We circumvent that with a silly pattern.
2019-08-21 12:05:37 +02:00
Nicolas Roman b148cf1176 Merge branch 'letsencrypt' of evolix/evoadmin-web into master 2019-07-26 11:15:48 +02:00
Nicolas Roman 3736f7ec32 display expiration date of cert and included domains directly when clicking the letsencrypt link 2019-07-25 11:37:57 +02:00
Nicolas Roman a0f41b4b69 Merge branch 'del-letsencrypt' of evolix/evoadmin-web into master 2019-07-24 16:30:43 +02:00
Nicolas Roman 5cd4cff029 remove matching letsencrypt folder when deleting an account 2019-07-24 16:25:16 +02:00
Nicolas Roman b339ca0fb9 display included and non included domain(s) before the cert renew 2019-07-19 14:38:24 +02:00
Nicolas Roman f3fa182dc7 delete methods updating the vhost after cert installation is completed 2019-07-17 17:20:32 +02:00
Nicolas Roman 4b5a020993 port 443 by default in vhost template 2019-07-17 17:11:52 +02:00
Nicolas Roman c5c1648a58 delete previous cert if it already exists before invoking evoacme 2019-07-17 15:38:59 +02:00
Nicolas Roman 7d026c907b add optional SSL configuration by default in vhost 2019-07-15 17:44:41 +02:00
Nicolas Roman 283f76540a uses stream_socket_client instead of fopen 2019-07-15 17:08:47 +02:00
Nicolas Roman c218aebaae bugfixes for the evoacme part 2019-07-15 17:06:50 +02:00
Nicolas Roman 4eaf3ad6d1 fix acme-challenge subfolder creation 2019-07-11 16:54:21 +02:00
Nicolas Roman 78d0293b44 create the acme-challenge subfolder correctly for the HTTP challenge 2019-07-11 15:24:17 +02:00
Nicolas Roman 27b449fd98 check that the non_standard domain is not already in the session variable 2019-07-11 14:19:09 +02:00
Nicolas Roman 8fe671097d tweak success message for cert installation 2019-07-10 16:59:36 +02:00
Nicolas Roman 839efa6fe9 generateSSLCertificate and setSSLPortVhost methods added 2019-07-10 16:57:34 +02:00
Nicolas Roman 37e5ca6484 generate-ssl-certificate and update-ssl-configuration methods for web-add.sh 2019-07-10 16:56:50 +02:00
Nicolas Roman 9c9ffe1b53 check if the domain IP correspond to the server IP 2019-07-10 16:56:13 +02:00
Nicolas Roman 1b4231e1a9 make-csr function and confirmation button when warning is displayed 2019-07-09 18:07:47 +02:00
Nicolas Roman 1cf62beb55 retrieve the correct aliases and servername from a specified vhost 2019-07-04 18:00:59 +02:00
Nicolas Roman 3ab7a01077 new warning rule with orange color for span element 2019-07-04 15:55:38 +02:00
Nicolas Roman c4a6b1f069 errors handling for SSL check with the issuer, validity date and included domains 2019-07-04 15:55:10 +02:00
Nicolas Roman 1fc8a3e322 add keys to return array for parseCertificate method 2019-07-04 15:53:35 +02:00
Nicolas Roman 43318dc09a add https prefix to getCertificate method 2019-07-04 15:52:55 +02:00
Nicolas Roman 3b9a534253 filter empty items from session variable of domains 2019-07-04 15:51:58 +02:00
Nicolas Roman 69936f67db retrieve SSL cert and parse it, check the issuer, the expiration date and the SAN 2019-07-03 18:18:27 +02:00
Nicolas Roman 2737edbc11 update let's encrypt button name 2019-06-07 15:25:34 +02:00
Nicolas Roman d7f0a5e36c change error handling for let's encrypt checks 2019-06-07 15:25:15 +02:00
Nicolas Roman 15faf3dfdc add isEvoacmeInstalled function 2019-06-07 15:24:38 +02:00
Nicolas Roman f6cfe14cdc add createFileHttpChallenge and deleteFileHttpChallenge functions 2019-06-07 15:23:39 +02:00
Nicolas Roman bd6d70fbfe change http challenge filename 2019-06-07 15:22:42 +02:00
Nicolas Roman b25639c3aa add manage-http-challenge-file function 2019-06-07 14:10:07 +02:00
Nicolas Roman 320a229d4f separate view and controller logic 2019-06-07 11:49:11 +02:00
Nicolas Roman 58dda79c6a add letsencrypt link in webadmin page 2019-06-07 11:48:09 +02:00
Nicolas Roman 4a137ae821 add h3 error styling 2019-06-07 11:46:01 +02:00
Nicolas Roman b44a70f089 fix CURLOPT_REDIR_PROTOCOLS values 2019-06-07 10:43:45 +02:00
Nicolas Roman 2fff30a658 first draft webadmin-letsencrypt tpl 2019-06-06 18:20:27 +02:00
Nicolas Roman 6b8128e861 move FQDN syntax to checkDNSValidity function 2019-06-06 18:18:09 +02:00