有没有人有幸通过更新web.config在Azure中配置HTTP公钥固定?我收到有关格式错误的密钥的错误,但无法确定语法错误的位置。
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="Public-Key-Pins" value="pin-sha256='AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='; pin-sha256='AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='; max-age=10; includeSubdomains;" />
</customHeaders>
</httpProtocol>
</system.webServer>