Skip to content

Commit d8af7da

Browse files
author
tony-tian
authored
Update README.md
1 parent b95337d commit d8af7da

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

spring-boot-note4/README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@ Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
1818
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
1919
```
2020
#### 生成证书
21-
##### keytool -genkey -alias loveshare -keypass 123456 -keyalg RSA -keysize 1024 -validity 520 -storepass 123456 -keystore D:/rsakey/loveshare.keystore
21+
##### winndows
22+
```
23+
keytool -genkey -alias loveshare -keypass 123456 -keyalg RSA -keysize 1024 -validity 520 -storepass 123456 -keystore D:/rsakey/loveshare.keystore
24+
```
25+
##### mac
26+
```
27+
cd /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin
28+
keytool -genkey -alias loveshare -keypass 123456 -keyalg RSA -keysize 1024 -validity 520 -storepass 123456 -keystore ~/loveshare.keystore
29+
```
2230
##### 使用keytool命令生成证书:
2331
```
2432
keytool -genkey

0 commit comments

Comments
 (0)