Update Linux.md
This commit is contained in:
4
Linux.md
4
Linux.md
@ -17,4 +17,8 @@ efibootmgr -o 0001
|
|||||||
### Download SSL certificate from website
|
### Download SSL certificate from website
|
||||||
```
|
```
|
||||||
openssl s_client -connect www.google.com:443 2>/dev/null </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'
|
openssl s_client -connect www.google.com:443 2>/dev/null </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'
|
||||||
|
```
|
||||||
|
### Import certificate into Java Keystore
|
||||||
|
```
|
||||||
|
keytool -importcert -file certificate.cer -keystore keystore.jks -alias "Alias"
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user