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
Certificatetab - Click on
Addbutton and selectAddmenu item - Select
Add a new certificateorReplace an existing certificate, thenNext - Select
Create self-signed certificate, thenNext - Fill up information for
Create root certificatefor CA certificate, thenNext - Fill up information for
Create certificatefor 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
Certificatetab - Click on
CSRbutton - 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.csrserver.key
Signing server certificate
- Launch
Control Panel => Security - Click on
Certificatetab - Click on
CSRbutton - Select
Sign Certificate Singing Request, thenNext - Select root certificate just created, then
Next - Select
server.csrfile usingBrowsebutton next to theCertificate Requesttextbox - 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
Certificatetab - Click on
Addbutton and selectAddmenu item - Select
Add a new certificateorReplace an existing certificate, thenNext - Fill up
Description, selectImport certificate, thenNext - Select private key file and certificate file, then
OK