AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 588108
Accepted
Dustin Oprea
Dustin Oprea
Asked: 2014-04-11 06:32:36 +0800 CST2014-04-11 06:32:36 +0800 CST 2014-04-11 06:32:36 +0800 CST

请求/X509 替代名称/扩展信息的完整性

  • 772

假设请求或 X509 证书中的主题和扩展信息都受到保护,我是否正确?

这个签名只是嵌入在 ASN.1 编码中的另一个元素?

openssl
  • 1 1 个回答
  • 291 Views

1 个回答

  • Voted
  1. Best Answer
    Evan Anderson
    2014-04-11T07:23:29+08:002014-04-11T07:23:29+08:00

    你是对的。这两个项目的完整性可以通过请求上的数字签名(使用请求者的私钥签名)或证书(由 CA 的私钥签名)来验证。

    编辑:

    RFC 2986,第 3 节描述 PKCS #10 证书请求:

    3. Overview
    
       A certification request consists of three parts: "certification
       request information," a signature algorithm identifier, and a digital
       signature on the certification request information.
    

    ...

            1. A CertificationRequestInfo value containing a subject
               distinguished name, a subject public key, and optionally a
               set of attributes is constructed by an entity requesting
               certification.
    
            2. The CertificationRequestInfo value is signed with the subject
               entity's private key.  (See Section 4.2.)
    

    第 5 页:

    The components of type CertificationRequestInfo have the following
       meanings:
    

    ...

     attributes is a collection of attributes providing additional
              information about the subject of the certificate.  Some
              attribute types that might be useful here are defined in PKCS
              ...
              certificate revocation.  Another example is information to
              appear in X.509 certificate extensions (e.g. the
              extensionRequest attribute from PKCS #9).  The values of type
    

    RFC 5280 re:x.509 证书:

    4.1.1.3.  signatureValue
    
       The signatureValue field contains a digital signature computed upon
       the ASN.1 DER encoded tbsCertificate.  The ASN.1 DER encoded
       tbsCertificate is used as the input to the signature function.
       ...
    
    
    4.1.2.  TBSCertificate
    
       The sequence TBSCertificate contains information associated with the
       subject of the certificate and the CA that issued it.  Every
       TBSCertificate contains the names of the subject and issuer, a public
       key associated with the subject, a validity period, a version number,
       and a serial number; some MAY contain optional unique identifier
       fields.  The remainder of this section describes the syntax and
       semantics of these fields.  A TBSCertificate usually includes
       extensions.
    
    • 2

相关问题

  • 如何在 Mac OS X 服务器上安装替换 SSL 证书?

  • 在 LAMPP 中升级单个库(特别是 openssl)

  • 带有基于商业 CA 的客户端证书的 ssl_error_handshake_failure_alert

  • 我可以对 *.domain.com 和 domain.com 使用相同的通配符认证吗

  • 为 apache 生成自签名 SSL 证书

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve