This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| syno:dsm7kmip [2026/09/01 11:55] – Bernard Condrau | syno:dsm7kmip [2026/09/01 13:58] (current) – [DSM as Client] Bernard Condrau | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== NAS Installation - Synology DSM 7.4 ====== | + | ====== KMIP for key management |
| - | + | ||
| - | ===== KMIP for key management ===== | + | |
| * Follow the guide to install [[https:// | * Follow the guide to install [[https:// | ||
| - | ==== Certificates ==== | + | ===== Certificates |
| - | - The default, out-of-the-box self-signed Synology certificate will fail on DSM 7.4 and later, which hardened the certificate requirements. You will generate matching certificates from an official Synology script, which will be installed alongside the default certificates, | + | - The default, out-of-the-box self-signed Synology certificate will fail on DSM 7.4 and later, which hardened the certificate requirements. You will generate matching certificates from an official Synology script, which will be installed alongside the default certificates, |
| - Login to your NAS on the command line with SSH and elevate to root | - Login to your NAS on the command line with SSH and elevate to root | ||
| - Download Synology' | - Download Synology' | ||
| Line 17: | Line 15: | ||
| server-key.pem | server-key.pem | ||
| server.pem</ | server.pem</ | ||
| - | ==== DSM as Server ==== | + | ===== DSM as Server |
| - go to //Control Panel > Security > Certificate// | - go to //Control Panel > Security > Certificate// | ||
| - Click //Add//, choose //Import Certificate//, | - Click //Add//, choose //Import Certificate//, | ||
| Line 31: | Line 29: | ||
| - Add a port forward for port 5696 to your server NAS | - Add a port forward for port 5696 to your server NAS | ||
| - | ==== DSM as Client ==== | + | ===== DSM as Client |
| - go to //Control Panel > Security > Certificate// | - go to //Control Panel > Security > Certificate// | ||
| - Click //Add//, choose //Import Certificate//, | - Click //Add//, choose //Import Certificate//, | ||
| Line 42: | Line 40: | ||
| - Upload the certificate authority file '' | - Upload the certificate authority file '' | ||
| - Now you need to go to **Storage Manager --> Storage** and click //Global Settings//. Scroll down to **Encryption Key Vault** and click //Reset// (important!) to make the switch to the KMIP Server permanent and move the encryption keys. | - Now you need to go to **Storage Manager --> Storage** and click //Global Settings//. Scroll down to **Encryption Key Vault** and click //Reset// (important!) to make the switch to the KMIP Server permanent and move the encryption keys. | ||
| + | - Go to **Control Panel --> Security --> KMIP**, check //Set as remote key client//, and make sure your KMIP Server with uploaded Synology certificates is running (either Synology DSM, or PyKMIP on Debian, or a commercial KMIP Server) | ||
| + | - Enter the following credentials. Note that every time you edit the connection you need to upload the // | ||
| - | ==== How to gain access to encrypted volumes when the KMIP Server was unavailable during DSM boot ==== | + | ===== How to gain access to encrypted volumes when the KMIP Server was unavailable during DSM boot ===== |
| * If you can re-establish connection to the KMIP Server you can do the following: | * If you can re-establish connection to the KMIP Server you can do the following: | ||
| - SSH into DSM | - SSH into DSM | ||
| Line 53: | Line 53: | ||
| - If your locked volume is not the same volume where your user home directories reside you can go to the **Storage Manager** and select the locked volume, then click the ellipsis (...) icon, and select //Unlock//. Upload your '' | - If your locked volume is not the same volume where your user home directories reside you can go to the **Storage Manager** and select the locked volume, then click the ellipsis (...) icon, and select //Unlock//. Upload your '' | ||
| - | ==== Recover an encrypted volume using an SSH shell ==== | + | ===== Recover an encrypted volume using an SSH shell ===== |
| * If you can not re-establish connection to the KMIP Server you can do the following: | * If you can not re-establish connection to the KMIP Server you can do the following: | ||
| - Identify the Target Device Node | - Identify the Target Device Node | ||
| Line 69: | Line 69: | ||
| * Your data is now fully unencrypted and accessible in plain text at ''/ | * Your data is now fully unencrypted and accessible in plain text at ''/ | ||
| - | ==== How to Regenerate and Download a Recovery Key ==== | + | ===== How to Regenerate and Download a Recovery Key ===== |
| - Open **Storage Manager** in Synology DSM | - Open **Storage Manager** in Synology DSM | ||
| - Go to **Storage** and click on your encrypted volume | - Go to **Storage** and click on your encrypted volume | ||
| Line 81: | Line 81: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| - | |||