Use Synology DSM to create Self Signed Certificate with custom CA
To create custom CA and use it to create server certificate, Synology NAS can be used and manage them.
Create certificate with CA
- Launch
Control Panel => Security
- Click on
Certificate
tab - Click on
Add
button and selectAdd
menu item - Select
Add a new certificate
orReplace an existing certificate
, thenNext
- Select
Create self-signed certificate
, thenNext
- Fill up information for
Create root certificate
for CA certificate, thenNext
- Fill up information for
Create certificate
for server certificate, thenApply
Following 4 certificates are created and can be exported
cert.pem
- Server certificateprivkey.pem
- Server Keysyno-ca-cert.pem
- CA certificatesyno-ca-privkey.pem
- CA Key
Create server certificate using CA above
- Launch
Control Panel => Security
- Click on
Certificate
tab - Click on
CSR
button - Select
Create Certificate Singing Request
, thenNext
- Fill up information for
Create certificate signed request (CSR)
, thenNext
- Click on
Download
Following files are created in downloaded ZIP file
server.csr
server.key
Signing server certificate
- Launch
Control Panel => Security
- Click on
Certificate
tab - Click on
CSR
button - Select
Sign Certificate Singing Request
, thenNext
- Select root certificate just created, then
Next
- Select
server.csr
file usingBrowse
button next to theCertificate Request
textbox - Fill up
Subject Alternative Name
, thenNext
- Click on
Download
Following files are created in downloaded ZIP file
server.crt
Import server certificate
- Launch
Control Panel => Security
- Click on
Certificate
tab - Click on
Add
button and selectAdd
menu item - Select
Add a new certificate
orReplace an existing certificate
, thenNext
- Fill up
Description
, selectImport certificate
, thenNext
- Select private key file and certificate file, then
OK