User Tools

Site Tools


ssl_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ssl_configuration [2018/12/12 07:33] – [Known Issues] lucyssl_configuration [2019/01/18 14:38] lucy
Line 5: Line 5:
  
  
-===== Trusted ADMIN Certificate Generation with LUCY > 3.1 =====+===== Trusted ADMIN Certificate Generation with LUCY =====
  
 First set the correct FQDN within the [[setup_script_tutorial|setup script]] (domain configuration). Example: if you configured the domain "phishig-server.com" within LUCY you could create the FQDN access.phishing-server.com within the setup script. If you want to generate a trusted certificate for the admin access please go to "settings/ssl settings" and choose "lets encrypt" as the method. LUCY will automatically use the domain configured in the system to generate the certificate. The certificate generation might take up to 5 minutes. Please be patient and wait until the message "certificate created" appears. If you get a "request failed" error it means that you ran into performance issues. In that case please retry to initialize the setup again. Here is a summary again: First set the correct FQDN within the [[setup_script_tutorial|setup script]] (domain configuration). Example: if you configured the domain "phishig-server.com" within LUCY you could create the FQDN access.phishing-server.com within the setup script. If you want to generate a trusted certificate for the admin access please go to "settings/ssl settings" and choose "lets encrypt" as the method. LUCY will automatically use the domain configured in the system to generate the certificate. The certificate generation might take up to 5 minutes. Please be patient and wait until the message "certificate created" appears. If you get a "request failed" error it means that you ran into performance issues. In that case please retry to initialize the setup again. Here is a summary again:
Line 41: Line 41:
  
  
-===== Create a Certificate within a Campaign LUCY < 3.1 =====+===== Create a Certificate within a Campaign LUCY =====
  
  
 If you decide to use SSL for the campaign and you want to generate a custom certificate you can do this by clicking Generate CSR or Certificate. If you decide to use SSL for the campaign and you want to generate a custom certificate you can do this by clicking Generate CSR or Certificate.
  
-{{ 31.jpg?direct&600 }}+{{ ssl_gen_1.png?direct&600 }}
  
  
Line 72: Line 72:
  
  
-{{ 32.jpg?direct&600 }}+{{ ssl_gen_2.png?direct&600 }}
  
 **Note**: If you want to get an official certificate for free, you can always use trial certificates which are valid for 90 days (example : https://www.comodo.com/e-commerce/ssl-certificates/free-ssl-certificate.php)  **Note**: If you want to get an official certificate for free, you can always use trial certificates which are valid for 90 days (example : https://www.comodo.com/e-commerce/ssl-certificates/free-ssl-certificate.php) 
Line 84: Line 84:
 a. If you are using __Lucy 4.2 or older__ version and using the "**Let's Encrypt**" provider SSL certificate generation fails, you need to delete the old certificate before re-creating the certificate again. You can do that using the following command: a. If you are using __Lucy 4.2 or older__ version and using the "**Let's Encrypt**" provider SSL certificate generation fails, you need to delete the old certificate before re-creating the certificate again. You can do that using the following command:
  
-**cd /tmp** \\ +<code>cd /tmp 
-**sudo -u postgres psql phishing -c "UPDATE domains_ssl SET is_deleted=TRUE WHERE NOT is_deleted"** \\+sudo -u postgres psql phishing -c "UPDATE domains_ssl SET is_deleted=TRUE WHERE NOT is_deleted"</code>
  
 (!) Please take into account that the command above will delete **all** existing SSL certificates! (!) Please take into account that the command above will delete **all** existing SSL certificates!
ssl_configuration.txt · Last modified: 2022/04/20 10:24 by lucy