1
Creating SelfSigned Certificate for CA
2
--------------------------------------
3
openssl req -new -x509 -days ### -keyout DarkSoft.key -out DarkSoft.cert
6
openssl req -noout -text -in DarkSoft.cert
7
2. Converting to DER format:
8
openssl x509 -in DarkSoft.cert -out DarkSoft.der -outform DER
10
openssl rsa -in server.key.enc -out server.key
12
Preparing Directory Structure
13
-----------------------------
18
.rand <- "Some random data!"
27
Configure '/usr/lib/ssl/openssl.cnf' to this settings!
31
openssl ca -policy policy_anything -out somehost.cert -infiles somehost.req
33
'somehost.cert' now contains signed certificate!
35
Installing CA into browser
36
--------------------------
37
Content-Type: application/x-509-ca-cert
38
Content-Length: certificate length