On Tue, 31 Jul 2001, Kurki, Juhani ActeFI wrote:

> Hi,
> 
> Go to www.openssl.org and there to contribution page and 
> grab the ssl.ca-0.1.tar.gz package,
> (http://www.openssl.org/contrib/ssl.ca-0.1.tar.gz)
> read README file and make your certificate. 
> It's fairly easy with this kit.

This is part of the openssl-devel package:
/usr/lib/ssl/misc/CA.pl
the 'ca' man page has a useful example.

However, read below...

> 
> Best rgds
> Juhani
> 
> 
> > From: Darren Wyn Rees [mailto:[EMAIL PROTECTED]]
> > 
> > I'm using Mandrake SNF (the latest version) but 
> > don't understand how to make a new https certificate.
> > Pardon my ignorance.
> > 
> > SNF was installed on a machine with a dead and
> > not-replaceable battery, and therefore the certificate
> > was dated sometime 1996.

So, if you want to see what was run when the package was insstalled:

rpm -q --scripts package_name

and look at the "post-install" script. 

For instance (for the package 'php'):
$ rpm -q --scripts php   
postinstall script (through /bin/sh):
ln -s /usr/share/doc/php-4.0.4pl1 /var/www/html/addon-modules/php
chown apache.apache /var/www/html/addon-modules/php
ldconfig
postuninstall script (through /bin/sh):
rm -f /var/www/html/addon-modules/php
ldconfig

This means that the script that was run was:

ln -s /usr/share/doc/php-4.0.4pl1 /var/www/html/addon-modules/php
chown apache.apache /var/www/html/addon-modules/php
ldconfig

WARNING: running that script a second time as-is may not work, and may
even cause damage to the system. Don't run as root any command that you
don't know what it is doing.

(For instance: re-runing that 'ln -s' command will probably create another
link that was not required) 

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



Reply via email to