{"id":8776,"date":"2017-01-28T22:12:48","date_gmt":"2017-01-29T05:12:48","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=8776"},"modified":"2017-01-28T22:12:48","modified_gmt":"2017-01-29T05:12:48","slug":"generating-multi-domain-ssl-csr-and-key-files","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=8776","title":{"rendered":"Generating Multi-Domain SSL CSR and Key files"},"content":{"rendered":"<p>A compound SSL Certificate product available from some Registrars currently is the &#8220;<a href=\"https:\/\/www.namecheap.com\/security\/ssl-certificates\/comodo\/positivessl-multi-domain.aspx\">Multi-Domain<\/a>&#8221; Certificate, for up to 3 x domains by default, with more available from there.<\/p>\n<p>To generate the required Key and CSR files to obtain those multi-domain Certificates, OpenSSL command lines like the following can be used:<\/p>\n<p><code>openssl req -new -newkey rsa:2048 -sha256 -nodes -keyout FILENAME.key -out FILENAME.csr -subj '\/C=XX\/ST=STATE\/L=LOCATION\/O=ORGANISATION\/OU=ORGUNIT\/CN=FIRSTDOMAINNAME\/emailAddress=EMAIL@ADDRESS\/subjectAltName=DNS.1=SECONDDOMAIN,DNS.2=THIRDDOMAIN'<\/code><\/p>\n<p>Additional domains can be added by appending more &#8220;,DNS.X=NEXTDOMAINNAME&#8221; (where X is from 3 onwards) in the subjectAltName parameter.<\/p>\n<p>For more OpenSSL operations, see our older <a href=\"http:\/\/blog.networkpresence.co\/?p=1155\">OpenSSL post<\/a>.<\/p>\n<p>FYI,<br \/>\nRichard.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A compound SSL Certificate product available from some Registrars currently is the &#8220;Multi-Domain&#8221; Certificate, for up to 3 x domains by default, with more available from there. To generate the required Key and CSR files to obtain those multi-domain Certificates, &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=8776\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[84,78],"class_list":["post-8776","post","type-post","status-publish","format-standard","hentry","category-network-presence","tag-ssl","tag-sysadmin"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/8776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8776"}],"version-history":[{"count":3,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/8776\/revisions"}],"predecessor-version":[{"id":8779,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/8776\/revisions\/8779"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8776"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}