Skip to main content
arie12092
Explorer II
January 27, 2023
Solved

Using Same Certificate for IPSec VPN Authentication

Hi,

I know this is not best practice to use same certificate on all FortiGate for IPSec VPN Authentication.

But I'm wondering, let say I deployed Hub and Spoke with 10 branches connect to DC as hub.

Can all FortiGate use same certificate for IPSec VPN authentication? Does FortiGate can authenticate each other?

 

Thanks

Ari

gfleming
gflemingAnswer
Staff
January 30, 2023

Oh I'm sorry I mis-read you original question. I thought you were using the certificates for IPSec remote access for clients. This is site-to-site IPSec VPN?

 

If so yes fairly certain it will work if you use the same certificates everywhere. Just note this provides almost exactly the same security as PSK. If one certificate is compromised you have to reset every node and reconfigure the certificates.

5 replies

Anthony_E
Staff
Staff
January 30, 2023

Hello Ari,

 

Thank you for using the Community Forum.

I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Regards,

Best Regards
gfleming
Staff
Staff
January 30, 2023

You can do it but it will be hard to make it a trusted certificate for all of your clients. It will need SANs or wildcard CN so that each FortiGate that is presenting it will be verified accordingly. Otherwise users will get untrusted certificate warnings. 

 

Why not just have one central FortiGate as your VPN gateway? 

arie12092
arie12092Author
Explorer II
January 30, 2023

Hi,

So, technically it's possible to use same certificate on the FortiGate branches to connect to the FortiGate DC in IPSec VPN, but it requires to different in SAN or wildcard CN, is it correct?

What will happen when the certificate doesn't have SAN or wildcard CN? Will the IPSec VPN authentication between FortiGate branch and FortiGate DC fail?

 

Thanks

Arie

gfleming
Staff
gflemingAnswer
Staff
January 30, 2023

Oh I'm sorry I mis-read you original question. I thought you were using the certificates for IPSec remote access for clients. This is site-to-site IPSec VPN?

 

If so yes fairly certain it will work if you use the same certificates everywhere. Just note this provides almost exactly the same security as PSK. If one certificate is compromised you have to reset every node and reconfigure the certificates.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT