How do I know what the storeName of a certificate is?

后端 未结 3 1430
礼貌的吻别
礼貌的吻别 2021-02-20 12:25

I have a certificate installed in windows server 2003

The path I can see from MMC is: Certificates(Local Computer)/Personal/Certificates

I want to configure it i

3条回答
  •  名媛妹妹
    2021-02-20 12:59

    A Certificate Store can be thought of as a logical container in the operating system that holds one or more certificates.The most common way to view the certificate stores is using the Certificates MMC.

    You have to decide in which of the available stores you want to import your certificate. After that, you should add to your config file the proper store name.

    For example: if your certificate is stored in Trusted People store you should have storeName="TrustedPeople".

    This is the enumeration provided by Microsoft for StoreName in https://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.storename(v=vs.110).aspx

    AddressBook -> The X.509 certificate store for other users.

    AuthRoot -> The X.509 certificate store for third-party certificate authorities (CAs).

    CertificateAuthority -> The X.509 certificate store for intermediate certificate authorities (CAs).

    Disallowed -> The X.509 certificate store for revoked certificates.

    My -> The X.509 certificate store for personal certificates.

    Root -> The X.509 certificate store for trusted root certificate authorities (CAs).

    TrustedPeople -> The X.509 certificate store for directly trusted people and resources.

    TrustedPublisher -> The X.509 certificate store for directly trusted publishers.

    Most of the cases you store your certificate inside "Personal" store so the most common value for store name is "My".

提交回复
热议问题