Re: create SSL cert via script

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

 



Am Di, den 03.01.2006 schrieb Ingo Jochim um 11:05:

> How can I create a SSL certificate via script full automated?
> 
> Thank you for your help.
> Ingo

You may do it like some (those which ship with a certificate) of the
Fedora RPMs do during rpmbuild. Following is taken from the OpenLDAP
.spec:

pushd %{_sysconfdir}/pki/tls/certs
umask 077
cat << EOF | make slapd.pem
--
SomeState
SomeCity
SomeOrganization
SomeOrganizationalUnit
localhost.localdomain
root@xxxxxxxxxxxxxxxxxxxxx
EOF
chown root:ldap slapd.pem
chmod 640 slapd.pem
popd

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 14:55:49 up 29 days, 19:32, load average: 0.87, 0.76, 0.45 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux