openssl/openssl

OpenSSL converted certificate with incorrect subnet mask

Open

#25,852 建立於 2024年11月2日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C (11,262 fork)batch import
branch: masterhelp wantedtriaged: bugtriaged: feature

倉庫指標

Star
 (30,157 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I used the format conversion command of openssl to convert the der certificate to a pem certificate for verification. For my test case, the conversion and verification commands were all executed successfully, but this test case does not comply with RFC5280. In the Nameconstrains extension, a non-compliant mask appears. I think this is a bug.

$ openssl x509 -inform DER -in E_mask.der -out E_mask.pem $ openssl verify -CAfile E_maskCA.pem E_mask.pem E_mask.pem: OK

I have provided the test case in the attachment This test case uses an incorrect subnet mask as the value of Nameconstraints Case.zip

貢獻者指南