mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
Merge branch '4'
This commit is contained in:
commit
8fa79f11b4
@ -2,6 +2,10 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
## [4.3.0-5] - 10/03/2019
|
||||
### Changed
|
||||
* Use a passphrase of 4 characters (instead of 1) when generating self-signed certificates (`USE_SSL=true`) to be accepted by newest versions of OpenSSL.
|
||||
|
||||
## [4.3.0-4] - 09/03/2019
|
||||
### Changed
|
||||
* Update Alpine base image to 3.9
|
||||
|
@ -72,8 +72,8 @@ if [ -f /firstrun ]; then
|
||||
if [ ! -e /etc/lighttpd/server.pem ]; then
|
||||
# Generate certificate file as needed
|
||||
cd /etc/lighttpd
|
||||
openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
|
||||
openssl rsa -passin pass:x -in server.pass.key -out server.key
|
||||
openssl genrsa -des3 -passout pass:1234 -out server.pass.key 2048
|
||||
openssl rsa -passin pass:1234 -in server.pass.key -out server.key
|
||||
openssl req -new -key server.key -out server.csr \
|
||||
-subj "/C=UK/ST=Warwickshire/L=Leamington/O=OrgName/OU=IT Department/CN=example.com"
|
||||
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
|
||||
|
Loading…
Reference in New Issue
Block a user