Commit ef6f1214 authored by Joshua Tauberer's avatar Joshua Tauberer

when generating a CSR in the control panel, don't set empty attributes

Same as in a52c56e5.

Fixes #1338.
parent ec3aab0e
CHANGELOG CHANGELOG
========= =========
In Development
--------------
Control Panel:
* Installing your own TLS/SSL certificate had been broken since v0.24 because the new version of openssl became stricter about CSR generation parameters.
v0.26b (January 25, 2018) v0.26b (January 25, 2018)
------------------------- -------------------------
......
...@@ -556,7 +556,7 @@ def create_csr(domain, ssl_key, country_code, env): ...@@ -556,7 +556,7 @@ def create_csr(domain, ssl_key, country_code, env):
"openssl", "req", "-new", "openssl", "req", "-new",
"-key", ssl_key, "-key", ssl_key,
"-sha256", "-sha256",
"-subj", "/C=%s/ST=/L=/O=/CN=%s" % (country_code, domain)]) "-subj", "/C=%s/CN=%s" % (country_code, domain)])
def install_cert(domain, ssl_cert, ssl_chain, env, raw=False): def install_cert(domain, ssl_cert, ssl_chain, env, raw=False):
# Write the combined cert+chain to a temporary path and validate that it is OK. # Write the combined cert+chain to a temporary path and validate that it is OK.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment