env['out'].print_line("""When you purchase an SSL certificate you will receive a certificate in PEM format and possibly a file containing intermediate certificates in PEM format.
If you receive intermediate certificates, use a text editor and paste your certificate on top and then the intermediate certificates
below it. Save the file and place it onto this machine at %s. Then run "service nginx restart"."""%ssl_certificate)
else:
else:
env['out'].print_error("The SSL certificate has a problem: "+cert_status)
env['out'].print_error("The SSL certificate has a problem: "+cert_status)
<p>There are many places where you can get a free or cheap SSL certificate. We recommend <ahref="https://www.namecheap.com/cart/remove.aspx?itemid=47016639&i=i2">Namecheap’s $9 certificate</a> or <ahref="https://www.startssl.com/">StartSSL’s free express lane</a>.</p>
<p>Which domain are you getting an SSL certificate for?</p>
<p>You will need to provide the SSL certificate provider this Certificate Signing Request (CSR):</p>
<preid="ssl_csr"></pre>
<p><small>The CSR is safe to share. It can only be used in combination with a secret key stored on this machine.</small></p>
<p>The SSL certificate provider will then provide you with an SSL certificate. They may also provide you with an intermediate chain. Paste each separately into the boxes below:</p>
show_modal_error("SSL Certificate Installation","Certificate has been installed. Check that you have no connection problems to the domain.",function(){show_ssl();$('#csr_info').slideUp();});