networking:openvpn:openvpn-setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:openvpn:openvpn-setup [2026/11/28 09:36] – [Create Client Certificate and Key Pair] oscar | networking:openvpn:openvpn-setup [2026/11/28 10:08] (current) – [Deploy Certificates & Keys] oscar | ||
|---|---|---|---|
| Line 147: | Line 147: | ||
| < | < | ||
| $ / | $ / | ||
| + | -------------------------------------------------------- | ||
| + | |||
| + | Notice | ||
| + | ------ | ||
| + | Private-Key and Public-Certificate-Request files created. | ||
| + | Your files are: | ||
| + | * req: / | ||
| + | * key: / | ||
| </ | </ | ||
| This will: | This will: | ||
| - | * Generate a private key (// | + | * Generate a private key (// |
| - | * Creates a certificate signing request (// | + | * Creates a certificate signing request (// |
| * nopass skips key encryption: Leaves the private key unencrypted on disk so automated services (like a VPN server daemon) can start unattended without prompting for a passphrase. Omit nopass if you want a passphrase-protected key (common for client keys or sensitive CA keys). | * nopass skips key encryption: Leaves the private key unencrypted on disk so automated services (like a VPN server daemon) can start unattended without prompting for a passphrase. Omit nopass if you want a passphrase-protected key (common for client keys or sensitive CA keys). | ||
| === Sign client key === | === Sign client key === | ||
| - | This will create a private key for the client and a certificate request file called | + | This will create a private key for the client and a certificate request file called |
| < | < | ||
| - | $ / | + | $ / |
| + | --------------------------------------------------------- | ||
| + | |||
| + | Notice | ||
| + | ------ | ||
| + | Certificate created at: | ||
| + | * / | ||
| </ | </ | ||
| In the output, you’ll be asked to verify that the request comes from a trusted source. Type yes and press ENTER to confirm this. | In the output, you’ll be asked to verify that the request comes from a trusted source. Type yes and press ENTER to confirm this. | ||
| - | | + | This will: |
| + | * Reads the request from // | ||
| + | * Applies the client profile/ | ||
| + | * Signs with the CA using your CA private key and CA certificate (// | ||
| | | ||
| ===== Deploy Certificates & Keys ===== | ===== Deploy Certificates & Keys ===== | ||
| Line 169: | Line 187: | ||
| |ca.key |key signing machine only |Root CA key |YES| | |ca.key |key signing machine only |Root CA key |YES| | ||
| |dh2048.pem |server only |Diffie Hellman parameters |NO| | |dh2048.pem |server only |Diffie Hellman parameters |NO| | ||
| - | |MyServerName.crt |server only |Server Certificate |NO| | + | |myvpnserver.crt |server only |Server Certificate |NO| |
| - | |MyServerName.key |server only |Server Key |YES| | + | |myvpnserver.key |server only |Server Key |YES| |
| - | |MyClientName.crt |client1 only |Client1 Certificate |NO| | + | |myvpnclient.crt |client1 only |Client1 Certificate |NO| |
| - | |MyClientName.key |client1 only |Client1 Key |YES| | + | |myvpnclient.key |client1 only |Client1 Key |YES| |
| === Server Deployment === | === Server Deployment === | ||
| Line 188: | Line 206: | ||
| - **ca.cert** --> insert contents --> between the < | - **ca.cert** --> insert contents --> between the < | ||
| - | - **MyClientName.key** --> insert contents --> between the < | + | - **myvpnclient.key** --> insert contents --> between the < |
| - | - **MyClientName.crt** --> insert contents --> between the < | + | - **myvpnclient.crt** --> insert contents --> between the < |
| - **ta.key** --> insert contents --> between the < | - **ta.key** --> insert contents --> between the < | ||
networking/openvpn/openvpn-setup.1795858595.txt.gz · Last modified: by oscar
