As part of http request validation, client has to present JWT token in the http authorization header to the server while making web api REST call.
Server has to validate the token presented by client using the public (rsa security) certificate. In case if the CA issued rsa certificate available on the server has been expired what should be return to the client, http status code or custom validation exception?
If CA certificate expired means, expiry applicable for both its private & public key? I mean, can I use expired certificate's public key to do signature validation of token signed by its private key before its expiry?