File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 3737 Checking the Server Status:
3838 sudo service nginx status
3939
40+ Disable the Server at Boot-Up:
41+ sudo systemctl disable nginx
42+
43+ Enable the Server at Boot-Up:
44+ sudo systemctl enable nginx
45+
4046## Private Key & Certificate Generation Commands
4147
42- Generate Private Key (2048 Bit Key Length) & Certificate:
48+ Generate Self-Signed Private Key (2048 Bit Key Length) & Certificate:
4349 sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout domainName.key -out domainName.crt
4450
4551 Generate PEM File Certificate (For Secure Email Messaging):
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ systemctl disable nginx
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ systemctl enable nginx
You can’t perform that action at this time.
0 commit comments