Amar Anondo
Amar Anondo

Reputation: 752

HTTPS certificate issue for postman for dotnet webapi project [version dotnet 5.0]. How can it be solved?

The problem is showing after requesting by following command on terminal.

dotnet dev-certs https --trust

Trusting the HTTPS development certificate was requested. Trusting the certificate on Linux distributions automatically is not supported. For instructions on how to manually trust the certificate on your Linux distribution, go to https://aka.ms/dev-certs-trust

A valid HTTPS certificate is already present.

enter image description here

Thanks for watching and helping me in advanced.

Upvotes: 0

Views: 1041

Answers (2)

Md Wahid
Md Wahid

Reputation: 460

Change Settings:

  1. General Settings

Postman tries to minimize the number of settings you have to change, so some defaults are automatically set. You can customize your settings based on your use case.

  1. Request

SSL certificate verification (native apps only): Prevents Postman from checking validity of SSL certificates while making a request. Set this option to OFF to open requests in a new tab. This option is, by default, set to OFF.

Image of Postman settings.

For more information please visit Troubleshooting requests or Setting up Postman

Upvotes: 1

PDHide
PDHide

Reputation: 19979

ECONNREFUSED is not certificate error it means the port is not open , meaning nothing is running on 5001.

Make sure your service is up and running and is accessible through localhost:5001

Upvotes: 2

Related Questions