Re: SubjectAltName how does it work?

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

 



Alex aka Magobin wrote:
>>I also find this in Sun documentation:
>>
>>certutil -R ...-CUT-... -a -8 amserv1.example.com,amserv2.example.com
>>
> 
> 
> Ok, after reading document I see that certutil that cames with FDS
> support subjectAltName...so I tried to make server certificate with this
> extension but unfortunately doesn't work; I used the following
> 
> # ../shared/bin/certutil -R -d . -s 'CN=nodo1.domain.example.com -o
> tmpcertreq -g 1024 -8 ldap.domain.example.com
> # ../shared/bin/certutil -C -d . -c "CA Certificate" -i tmpcertreq -o
> tmpcert.der -m 3 -v 120 -1 -5 -8 ldap.domain.example.com
> 
> # ../shared/bin/certutil -A -d . -n "nodo1.domain.example.com" -t u,u,u
> -i tmpcert.der
> 
> 
> 
> ...I supposed that it was correctly but I'm not sure...I don't find
> anything about configuration certificate with subjectAltName extention.
> 
> Could someone suggest me the right way?

Assuming you already have a CA nicknamed 'cacert' and your database is 
in the directory named 'foo':

% certutil -R -d foo -s "cn=localhost,dc=example,dc=com" -o tmpcertreq 
-g 1024
% certutil -C -d foo -c cacert -i tmpcertreq -o tmpcert.der -m 9 -v 12 
-1 -5 -8 foo.example.com
% certutil -A -d foo -n Alt-Cert -t u,u,u -i tmpcert.der
% certutil -L -d foo -n Alt-Cert
% rm -f tmpcert.der tmpcertreq

-- Cut --
         Signed Extensions:
             Name: Certificate Subject Alt Name
             Data: Sequence {
                 [1]
                     foo.example.com
             }

             Name: Certificate Type
             Data: <SSL Server>
-- Cut --

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20060406/7f876a9a/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux