You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #960 on January 24, 2022 19:57.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Checklist
Pease include as much details as possible in your issue:
change
awk '/BEGIN/,/END/' "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt"
to
awk '/---BEGIN/,/---END/' "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt"
file.crt
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
de---HIDE---:04
---HIDE---
---HIDE---
---HIDE---
---HIDE---
---HIDE---
---HIDE---
---HIDE---
-----BEGIN CERTIFICATE-----
MIIBzjCCAXSgAwIBAg---HIDE---
---HIDE---
---HIDE---
---HIDE---
---HIDE---NVHQ8EBAMCB4AwCgYI
KoZIzj0EAwIDSAAwRQIhAIjid3MDESbmYENDCZi1egpf0K5I6MDaVqOXV/0GQGEL
AiAq4e+QmZq8XopsRd4nMBRSwS2AmfDHEL4NUK94Wg2zMg==
-----END CERTIFICATE-----
awk '/BEGIN/,/END/' 'file.crt'
-----BEGIN CERTIFICATE-----
MIIBzjCCAXSgAwIBAg---HIDE---
---HIDE---
---HIDE---
---HIDE---
---HIDE---NVHQ8EBAMCB4AwCgYI
KoZIzj0EAwIDSAAwRQIhAIjid3MDESbmYENDCZi1egpf0K5I6MDaVqOXV/0GQGEL
awk '/---BEGIN/,/---END/' 'file.crt'
-----BEGIN CERTIFICATE-----
MIIBzjCCAXSgAwIBAg---HIDE---
---HIDE---
---HIDE---
---HIDE---
---HIDE---NVHQ8EBAMCB4AwCgYI
KoZIzj0EAwIDSAAwRQIhAIjid3MDESbmYENDCZi1egpf0K5I6MDaVqOXV/0GQGEL
AiAq4e+QmZq8XopsRd4nMBRSwS2AmfDHEL4NUK94Wg2zMg==
-----END CERTIFICATE-----
Beta Was this translation helpful? Give feedback.
All reactions