aboutsummaryrefslogtreecommitdiff
path: root/dummyserver/certs/README.rst
blob: 4fb6632be3ca678da2f8f21e06407b7760a8c286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Creating a new SAN-less CRT
---------------------------

(Instructions lifted from Heroku_)

1. Generate a new CSR::
   
       openssl req -new -key server.key -out server.new.csr -nodes -days 10957

2. Generate a new CRT::

       openssl x509 -req -in server.new.csr -signkey server.key -out server.new.crt -days 10957

Creating a new PEM file with your new CRT
-----------------------------------------

1. Concatenate the ``crt`` and ``key`` files into one::

       cat server.new.crt server.key > cacert.new.pem


:Last Modified: 1 Nov 2014

.. _Heroku: https://devcenter.heroku.com/articles/ssl-certificate-self