I was facing the issue below
And solved by applying the solution in this article. https://dev.to/michaelcharles/fixing-the-https-developer-certificate-error-in-net-on-macos-sequoia-516h