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