/usr/share/doc/libnet-ssleay-perl/examples
NameSizeModeActions
bio.pl12040644editdlrm
bulk.pl19540755editdlrm
callback.pl31940755editdlrm
cb-testi.pl5480644editdlrm
cli-cert.pl38050644editdlrm
ephemeral.pl5530644editdlrm
get_authenticated_page.pl7300755editdlrm
get_page.pl5070755editdlrm
get_page_cert.pl9660644editdlrm
https-proxy-snif.pl45440755editdlrm
makecert.pl15310755editdlrm
minicli.pl13400755editdlrm
passwd-cb.pl8090644editdlrm
req.conf12320644editdlrm
server_key.pem9630644editdlrm
ssl-inetd-serv.pl16420755editdlrm
sslcat.pl5260755editdlrm
sslecho.pl31430755editdlrm
ssl_diff.pl6310755editdlrm
stdio_bulk.pl25900755editdlrm
tcpcat.pl4220755editdlrm
tcpecho.pl18150755editdlrm
x509_cert_details.pl105620755editdlrm
Edit: /usr/share/doc/libnet-ssleay-perl/examples/makecert.pl (1531B)
#!/usr/bin/perl # 19.6.1998, Sampo Kellomaki # 31.3.1999, Upgraded to OpenSSL-0.9.2b, --Sampo # 31.7.1999, Upgraded to OpenSSL-0.9.3a, fixed depending on symlinks # (thanks to schinder@@pobox_.com) --Sampo # 7.4.2001, Upgraded to OpenSSL-0.9.6a --Sampo # 9.11.2001, EGD patch from Mik Firestone --Sampo # # Make a self signed cert use strict; use warnings; use File::Copy; use File::Spec::Functions qw(catfile); my $dir = shift || usage(); my $exe_path = shift || '/usr/local/ssl/bin/openssl'; my $egd = defined( $ENV{EGD_POOL} ) ? "-rand $ENV{EGD_POOL}" : ''; my $conf = catfile($dir, 'req.conf'); my $key = catfile($dir, 'key.pem' ); my $cert = catfile($dir, 'cert.pem'); open (REQ, "|$exe_path req -config $conf " . "-x509 -days 3650 -new -keyout $key $egd >$cert") or die "cant open req. check your path ($!)"; print REQ <