I’m having some issues building site to site ipsec. The tunnel uses certificate authentication, and the certificate is a self-signed certificate generated by routeros. When my id type and remote id type are selected as auto on both ends, the tunnel can be successfully established, but when I select fqdn or other options, an error message “peer’s ID does not match certificate” is displayed. The certificates on both sides have not changed during this period.
The reason I chose to change the id type is to assign different mode configs to different sites.
I want to know what content should be added to my certificate to meet the requirements, such as using fqdn as an example.
If you need more information, please leave a message, thank you very much!
I found the same issue in this post http://forum.mikrotik.com/t/ipsec-not-working/142182/1 but it didn’t give what the certificate needed to be adjusted. For everyone to better understand the issue.