mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-30 19:06:37 +02:00
win32 batch files & installer: make aware of new ssl certificate locations (conf\ssl rather than root)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
@title Encrypting server private key
|
||||
openssl rsa -in server.key.pem -out server.key.c.pem -des3
|
||||
copy server.key.c.pem server.key.pem
|
||||
openssl rsa -in conf/ssl/server.key.pem -out conf/ssl/server.key.c.pem -des3
|
||||
copy conf/ssl/server.key.c.pem conf/ssl/server.key.pem
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@title Certificate Generation
|
||||
openssl req -new -config ssl.cnf -out server.req.pem -keyout server.key.pem -nodes
|
||||
openssl req -x509 -config ssl.cnf -days 365 -in server.req.pem -key server.key.pem -out server.cert.pem
|
||||
openssl req -new -config ssl.cnf -out conf/ssl/server.req.pem -keyout conf/ssl/server.key.pem -nodes
|
||||
openssl req -x509 -config ssl.cnf -days 365 -in conf/ssl/server.req.pem -key conf/ssl/server.key.pem -out conf/ssl/server.cert.pem
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@ procedure CurPageChanged(CurPage: Integer);
|
||||
begin
|
||||
if (CurPage = wpSelectTasks)then
|
||||
begin
|
||||
if FileExists(ExpandConstant('{app}\server.cert.pem')) then
|
||||
if FileExists(ExpandConstant('{app}\conf\ssl\server.cert.pem')) then
|
||||
begin
|
||||
WizardForm.TasksList.Checked[9]:=false;
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user