Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
Extracted from: http://forums.contribs.org/index.php?topic=34624.0
 
Extracted from: http://forums.contribs.org/index.php?topic=34624.0
 +
 
Author: slords
 
Author: slords
   Line 7: Line 8:  
  cd ~/cacert  
 
  cd ~/cacert  
   −
Make a file named  
+
Make a file named <b>cacert_csr_request</b>
    
  #!/usr/bin/perl
 
  #!/usr/bin/perl
Line 79: Line 80:  
  close(SSL) or die "Closing openssl pipe reported: $!";
 
  close(SSL) or die "Closing openssl pipe reported: $!";
 
  close(CSR) or die "Closing csr file reported: $!";
 
  close(CSR) or die "Closing csr file reported: $!";
 +
 +
 +
*Change permissions
 +
chmod u+x cacert_csr_request
 +
 +
*Execute the file
 +
./cacert_csr_request
 +
 +
From here replace the <b>{domain}</b> tag with your Primary domain name. Also you will need to have all domains registered with your cacert.org account. This will create a certificate that includes all domains that exists on your sme box as both simple domain.com and wildcard *.domain.com.
 +
 +
*Paste the output into the cacert.org website and get your certificate
 +
cat {domain}.csr
 +
 +
Then save your CA certificate in a file named ~/cacert/{domain}.crt
 +
 +
*Copy to final location
 +
cp {domain}.crt /home/e-smith/ssl.crt/{domain}.crt
 +
cp {domain}.key /home/e-smith/ssl.key/{domain}.key
985

edits

Navigation menu