Setting Issuer Alternative Name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In rfc5280:

   IssuerAltName ::= GeneralNames

   GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName

   GeneralName ::= CHOICE {
        otherName                       [0]     OtherName,
        rfc822Name                      [1]     IA5String,
        dNSName                         [2]     IA5String,
        x400Address                     [3]     ORAddress,
        directoryName                   [4]     Name,
        ediPartyName                    [5]     EDIPartyName,
        uniformResourceIdentifier       [6]     IA5String,
        iPAddress                       [7]     OCTET STRING,
        registeredID                    [8]     OBJECT IDENTIFIER }

So since I want a DET as IssuerAltName (e.g. 20010030000000052aeb9adc1ce8b1ecO), it seems that iPAddress is the only thing that works.  So in the config file, I tried:

#authorityKeyIdentifier = keyid:always,issuer
authorityKeyIdentifier = "iPAddress:20010030000000052aeb9adc1ce8b1ec"

and using "openssl req" get the error:

Error checking x509 extension section v3_ca
403C7BDE967F0000:error:11000078:X509 V3 routines:v2i_AUTHORITY_KEYID:unknown option:crypto/x509/v3_akid.c:131:name=iPAddress 403C7BDE967F0000:error:11000080:X509 V3 routines:X509V3_EXT_nconf_int:error in extension:crypto/x509/v3_conf.c:48:section=v3_ca, name=authorityKeyIdentifier, value=iPAddress:20010030000000052aeb9adc1ce8b1ec

I have used iPAddress: in SAN, and thought that this would work, obviously I am missing something....

Thanks for any pointers.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux