简体   繁体   中英

HTTP Request/Response signing standards

I want to sign the payload of HTTP Requests and Responses. The signature should reside in the header. The signing mechanism should not require any change in existing payload structure.

The main use case is non-repudiation.

There are many custom ways of doing it but I am looking for a standard.

If possible there should be support for signature verification without having to manually seed each application with other applications' public keys (the way Public Key Infrastructure it works with SSL certs)

Is there an existing standard that does this?

Yes, there is an IETF draft for signing HTTP.

https://datatracker.ietf.org/doc/draft-ietf-httpbis-message-signatures/

To the question about PKI, you can do certificate distribution in the signed headers so if you do have a root of trust for the keys you don't need to copy the individual public keys around.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM