Creating SSL keys for Postman Mock Server

I have created a mock server on postman. It gives me a HTTPS url to send request to the mock server. I want to generate SSL certificates for the mock server so that client can use those certificate while sending request to the mock server. How can I generate SSL server for the mock server?

You don’t need to generate any keys for your client. It should work as it is.

Since you are not the owner of the service, you can’t generate SSH keys.

Hi Chinmaya. I don’t know about failing to create SSL keys, but to get the SSL cert used by the postman mock server that you can import in your Java EE truststore, I did the following.

  1. Make an example request/response for a GET call that returns plaintext
  2. In a separate internet tab, use the url in the example request to go to a page generated by the mock server.
  3. Right click the screen and go to something like application/properties to get the certificate for the page. Import it to your desktop.
  4. Import into the truststore from there.