Re: what keys/certificates I as a openvpn client need to generate?
tincantech via Openvpn-users <[email protected]> Mon, 17 Jun 2024 21:45:39 +0000
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Message-ID | <8O0R0z-9g9fBPtSqMbtCXuvrigem-0_Kw4oNqAUyXPgOVxjDtQansrhY--PT2GtQL1tw6hyymG9p1AtcGxdB5qoeecpbupV42ZDHzvwBJc4=@protonmail.com> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, On Monday, 17 June 2024 at 21:33, Mika Laitio <[email protected]> wrote: > Hi, this is my first time in this list. > > This may be too simple a question, but I did not find a clear answer when googling and reading the README.quickstart.md. All the examples I found were more concentrated for the server side setup. > > So I would need to be connected to an openvpn server not hosted by me and the owner of the server asked me to send my credentials for the server key. Your "owner of the server" must clarify "send my credentials". > At the moment I do not know the name of the server, ca-files of it or anything. I believe that once I send my public key, he can then generate the configuration file for me that I can use to connect to the server. (.opni) > > Can I just use openssl to generate a public-private key pair and then just send the generated public key for the openvpn server maintainer or do I need to use the easyrsa3/easyrsa to generate the keys that openvpn can use? If I need/can use the easyrsa3 to do that, are there any examples/docs for the commands I need to use? You can do this with OpenSSL but it is not easy. You can do this with Easy-RSA and it is easy. Install Easy-RSA then use the following commands: $ easyrsa init-pki $ easyrsa gen-req <NAME> If you prefer, you can make this even easier by not protecting your private key with a password: $ easyrsa gen-req <NAME> nopass Which ever method you prefer, you then send the certificate signing request [CSR] to the server owner. The CSR can be found in your Easy-RSA PKI folder as: pki/reqs/<NAME>.req That is all you can do until the server owner sends you back your signed certificate and config file. Regards tct -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAnBYJmcK50CZBPl5z2a5C4nRYhBAm8PURno41yecVVVU+XnPZr kLidAADQHggAqTt/HQVdlVjklq7WAUnBIVnr31MfuTuP7OtdfijQpL453vhC qT4fDVdeDE6EQJ/82WrSjwf8NZCvKhn2Kh07Ef7BvgT8kAIEYT9vXBoSsUoA DCSksmdeLHJbtBihZIg04LpXxhF2NaBTVt3Oxm5QHUnNIUwS0gmxHSGEsJ3S mL5q4fyJJnrmz3dmyCFZc5ixa6eHe2CKHrRluzQIpcx4mHOF4Ieuv6Lfka3A oYA2zR63jtZj+E3XyhB/ZGkhBAkde5y1J3aGQuTBu38iIxBzUNVHqeP9JS/7 /Zjy2Kma8skFAFL09w2iTwUEgIiUCbPGjfacAPZWQODprUyuzLjX/g== =Gw4Z -----END PGP SIGNATURE----- _______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
publickey - [email protected] - 0x09BC3D44.asc
(application/pgp-keys, 1.7 KB)
-----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFvwSccBCADOmHEnQlLmOjJRtJL2l53MLwwFTy7XnEps3b1Q0UwWYFCv L2oNp0nrdGlKKDJq50Y09SR+URYBQmKmY3EmzpyUIKM/rgo1RyubHpMRHbDp 7Jp8LxkffFBVJj/t5VMpD6eMR6aUciQjgRL8NZe6+T7xfXXXwV5hoReZ3jO+ zHi6SR7xTvGXla+MQz6EEpWnlbLvg2ort9KseuVjYrqvRMxcdP0o9cZWJ5ep JNmgeB6M7+OW08U1SsXtKrpLRcI6yKmV38jhzPr2ZgP9rmrlErR/1iqQQHXY o8/0DfPyF0mH9ynQIiLE/l+FYu4rsG8ViKlxhXczePzAtLCjiB0a0mRVABEB AAHNNyJ0aW5jYW50ZWNoQHByb3Rvbm1haWwuY29tIiA8dGluY2FudGVjaEBw cm90b25tYWlsLmNvbT7CwH8EEAEIACkFAlvwSccGCwkHCAMCCRBPl5z2a5C4 nQQVCAoCAxYCAQIZAQIbAwIeAQAKCRBPl5z2a5C4nQBDB/9ZUo9BOXJR61Nm 02oZ/8aRXO9NnUSFt6GLOWcDNvAs4IJWMDVEQfYanb+421QNd/5d6H1iXF+i 4LDK0M6agC+gsNFJnjPGItvPtj7WyjynZRx8D40PPXigfHYuw2oRu0lr+P1p 1qeUe4NbcqIv8IIvLz2zClYZONgAsQVcNAHi7Z4ortQ2io2BAVj/819JPYMt tHgY81wS1V7v8GDTZg8oaPhXGfaC4TZFGtZr/bybcqrso35jaQmC54xMbXpF AUrc3uGVOH+OdG/BW2gcYqpvUFBukXxCUBYHP2NfXhNfzGt9nC1ulNKYeP19 TGlOorBMYIAEHoGxvpbUXfbaNWCUzsBNBFvwSccBCAC9KyVZRS5aMaG5Pi0n fx8aNos3bYp246MtfaoKBfTQArd+GZW+WnFyJEiSyLdz0rUutyCAdf5lgVH+ WvLvImiGrSrzVpMT2nCS09LqL50Qjz8A7gp5H/hQztZ8iNysGD9NO46OnI75 90dHfCrXjQPSFtFGsTzgDxQIiMuzz9DR7BekKPmuOFIhBe9eEZqbxc8RWeQt ha7i/DrJTRNK1aOADQFVuV1/Am5ThGPWFM/YJUyTYhMW0yePh45ObWuRQZks l+aOm4L0KGDDYlm/FQx/EMCubvlzy/zxDdB6nqFih2qZrfymniSOKajG0joT pZoz/Ez+4fAtg6y0PspNR6idABEBAAHCwGkEGAEIABMFAlvwSccJEE+XnPZr kLidAhsMAAoJEE+XnPZrkLidRe0H/j5CIFIAucuaiEMkLkNKEAO5s7x47eNy GPfZslyY+HjzGU0d07MkkGmVkPTVzwqVzNZbny7ZAv1zlW0Uy0yHp1APpyYt 8buUppTBq7d47ogxERYzt/Lc2L5a/VKFNRbhN1/XQmPiz2Ele4tyipbTapcy +zbyfzAMD13cIdZ13hTsNP0olgBhAqUAUUYpxRlkAHeJ+Dt3NbzHS4KQK538 NJ/l7bXSKsGqoYqJeZ8VNBxwWWUbuG4jjrh43MIRgUZ5WsPUYV6Hx056kMjb /bYBjI0TEMvH8160uqzFXeHvYyUlq0SinD/Z9ioIe8QdsHGBDUIRYYub1pO8 qrCzRZx0oNA= =/Dea -----END PGP PUBLIC KEY BLOCK-----
publickey - [email protected] - 0x09BC3D44.asc.sig
(application/pgp-signature, 310 B) - not displayed