home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 July
/
PCWorld_1999-07_cd.bin
/
602
/
ISLITE
/
DISK1
/
data1.cab
/
INTERSRV_TARGET
/
Make_key.bat
next >
Wrap
DOS Batch File
|
1999-06-02
|
803b
|
29 lines
@echo off
choice /C:AN Mßte sprßvn∞ vypln∞nΘ informace v konfiguraΦnφm souboru ssl_info.cfg
if ERRORLEVEL==2 goto editace
if ERRORLEVEL==1 goto start
:editace
edit ssl_info.cfg
:start
if "%1" == "" goto aktualni_cesta
%1\ssl_util.exe %1
%1\ssleay.exe req -new -x509 -nodes -days 365 -config %1\ssleay.cfg -out %1\server.pem -keyout %1\server.pem
%1\ssleay.exe x509 -inform pem -outform der -in %1\server.pem -out %1\server.crt
copy %1\server.crt docs
del %1\server.crt
del %1\rand.dat
goto end
:aktualni_cesta
.\ssl_util.exe .
.\ssleay.exe req -new -x509 -nodes -days 365 -config .\ssleay.cfg -out .\server.pem -keyout .\server.pem
.\ssleay.exe x509 -inform pem -outform der -in .\server.pem -out .\server.crt
copy .\server.crt docs
del .\server.crt
del .\rand.dat
:end