Vulnerability library
Security checkMay 13, 2024

Public-Key-Pins Header is Set

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The HTTP Public-Key-Pins response header was used to associate a specific cryptographic public key with a web server to mitigate the risk of MITM attacks with forged certificates. However, it has been deprecated and is no longer supported by modern browsers.

Recommendation

Consider removing the Public-Key-Pins header and instead use the Expect-CT header along with Certificate Transparency to enhance security against MITM attacks.

References

Could your website be exposed too?

SmartScanner can check your website for Public-Key-Pins Header is Set and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 13, 2024