HTTP GET using cURL is giving SSL error
问题 I have written a REST server which listens on port 8000. I am trying to invoke the api from the same machine using the cURL command - curl -H "accept: application/json" https://localhost:8000/status -v I am getting the following error * About to connect() to localhost port 8000 (#0) * Trying ::1... * Connected to localhost (::1) port 8000 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * NSS error -12263 (SSL_ERROR_RX_RECORD