Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you are experiencing P2S Certificate issues while deploying a Basic SKU VPN Gateway using a Terraform template.
To troubleshoot,
- I enquired if you were able to reproduce the error for second time? (using Basic SKU itself)
- You confirmed yes
- If so, can you please upload the cert Data from Portal once the VPN gateway is deployed and see if that works?
Meanwhile, you confirmed the issue is no longer reproducible
The error code -2146762487 (0x800b0109) is issues by the OS. This, as the error states, generally means there is a trust issue with the certificate(s) used.
I also checked this behavior internally but could not find any similar reported incident, or support cases wrt Basic SKU.
I further suggested we file a support ticket to isolate the issue, should it ever resurface.
Thanks,
Kapil
Please Accept an answer if correct.
Original posters help the community find answers faster by identifying the correct answer.