【linux系列】(202307) 常用命令:证书相关

1
2
3
4
5
6
base64参数:
-w, --wrap=COLS
wrap encoded lines after COLS character (default 76). Use 0 to disable line wrapping


cat ca.pem | base64 -w 0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# cat ca.pem | base64 
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURlakNDQW1LZ0F3SUJBZ0lVYnFnYm5MVnVi
NHNwTjJqS0xOY245d1QrVlhRd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1F6RUxNQWtHQTFVRUJoTUNR
MDR4RURBT0JnTlZCQWdUQjBKbGFXcHBibWN4RURBT0JnTlZCQWNUQjBKbAphV3BwYm1jeEVEQU9C
Z05WQkFNVEIyVjBZMlFnUTBFd0hoY05NakF4TWpNd01EYzBPVEF3V2hjTk1qVXhNakk1Ck1EYzBP
VEF3V2pCRE1Rc3dDUVlEVlFRR0V3SkRUakVRTUE0R0ExVUVDQk1IUW1WcGFtbHVaekVRTUE0R0Ex
VUUKQnhNSFFtVnBhbWx1WnpFUU1BNEdBMVVFQXhNSFpYUmpaQ0JEUVRDQ0FTSXdEUVlKS29aSWh2
Y05BUUVCQlFBRApnZ0VQQURDQ0FRb0NnZ0VCQUo1YzZKMWpMb3d6L1E4Z2VsNGp1dDZ2TzRzOE1B
bnZnVmlJbE5YQXlHb1JvN1IvCm44c3hhWU4vdHM1eUhYN0NVNDlaaFVPeGQ0MU1BdUJmdVVGZCtr
VVI4a0o1b3RScEFlN1FTUXFKNEt4MnZqY0cKdXF0RldGTGMyUTFQUjM3NTFjQVBqYmVGd1gwbTFx
OFhYUHdqaWczVWVRaTFhdjM3VmVOVzhpS3FzOVpBUThtVwpWUTQyY2VFd0s4TzZSenFINllNRlI2
QkVlRS8yMnpsaE1OcmRsc1E5QjdQQkdzM2pXbEhsalowTHlyeU1NQTl5CldpMFJCelhoWVhMcDcy
VktsaU5LSzJLdWFVZ1FPdVpHU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FVcHFtZVhuUmZIVgpOOVZhM3pUMUEyalE1clNadXBCTDMzUzZTVStheU9wdkxNKzIzMzR3SkdFNXRaVE9ZZ2E3OXZ5R3VoL1cxcTFsCksvUkhGQi9SZllLUitOT2pGRGk4bzdHd3RrTzFqZWVnZnJxWEFXNzdhRVAxTmRsNlBVbTk1YStQc1VVVGdzaXQKN2ZNbjBPRmdXQ09xNkRHdWNQM1RIYWx6N3RGVytPUjVjWloxWExqa1JWRFNFR0ZSVnJTV1MrZzVjaG1ma3V6bwo0R0pDNCtieGRnanpuQWlhdlVsQkNnSWMwU2pabVFUeHFGcUhkbVprbVJjVkQwekJpVlFmd0Z6TSs3RUZycUJ1CjJiOVVxdkJQZkk4cTA0Y3FTYmh4elFqcTE1T1lOdklJMDNnMVl6RmEKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=

【linux系列】(202307) 常用命令:证书相关
http://example.com/2023/07/17/linux/【linux系列】(202307) 常用命令:证书相关/
作者
ningan123
发布于
2023年7月17日
许可协议