Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PSK vs. PKI

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 4 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rcfaR
      rcfa
      last edited by

      Based on this https://doc.pfsense.org/index.php/Why_won%27t_OpenVPN_push_routes, and the fact that I couldn't get things to work, I ended up setting up a PKI setup for a single site-to-site/internet setup.

      Then I read here:
      https://forum.pfsense.org/index.php?topic=12888.msg69533#msg69533
      the following:

      If you only wish to VPN 2 or 3 sites together, the OVPN shared key method will certainly be simpler.  The stalwart board moderator GruensFroeschli has suggested the following, and I wholeheartedly concur: "Up to 5 sites i wouldnt bother setting up a PKI."

      Which is exactly my sentiment, except I couldn't get it to work, and then based on the docs, I did the PKI thing.

      So, who's right? Is there a way I could simplify things and do a simple PSK setup?

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        I now use the PSK method. I had been using certificates and… but went back to PSK after a bit, because PSK was so easy and I don't have millions of site-to-site links.
        I just setup the server end with Server Mode "Peer to Peer (Shared Key)", letting it automatically generate a shared key. Then setup the client and paste in the key from the server end.
        It all works easy - so post some of what you have tried and we can help with what is not quite right.

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • R
          rand4505
          last edited by

          Stop using PSK, use 2048bit+ RSA/DSA keys, with group 14 or higher DH, PFS.

          See: http://cdn.media.ccc.de/congress/2014/h264-sd/31c3-6258-en-Reconstructing_narratives_sd.mp4

          1 Reply Last reply Reply Quote 0
          • J
            Jamerson
            last edited by

            @rand4505:

            Stop using PSK, use 2048bit+ RSA/DSA keys, with group 14 or higher DH, PFS.

            See: http://cdn.media.ccc.de/congress/2014/h264-sd/31c3-6258-en-Reconstructing_narratives_sd.mp4

            Thank you for the video !

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.