fixed probably idk
This commit is contained in:
parent
33a3f1ebd6
commit
76a71d81cd
1 changed files with 2 additions and 2 deletions
|
@ -28,10 +28,10 @@ chroot /mnt /bin/bash -c "cd root && openssl genrsa -out ca.key 2048"
|
|||
chmod 400 /mnt/root/ca.key
|
||||
mkdir -p /mnt/etc/ssl/certs/
|
||||
mkdir -p /mnt/etc/ssl/private/
|
||||
chroot /mnt /bin/bash -c "openssl req -x509 -new -nodes -key ca.key -sha256 -days 1024 -out /mnt/etc/ssl/certs/ca.crt"
|
||||
chroot /mnt /bin/bash -c "openssl req -x509 -new -nodes -key /root/ca.key -sha256 -days 1024 -out /etc/ssl/certs/ca.crt"
|
||||
chroot /mnt /bin/bash -c "chown -R www-data:www-data /etc/ssl/private/"
|
||||
chroot /mnt /bin/bash -c "chown -R www-data:www-data /etc/ssl/certs/"
|
||||
chmod 600 -R /mnt/etc/ssl/private/
|
||||
chmod 644 -R /mnt/etc/ssl/certs/jetsearch.com.crt
|
||||
chmod 644 -R /mnt/etc/ssl/certs/ca.crt
|
||||
|
||||
read a
|
||||
|
|
Loading…
Reference in a new issue