mirror of
https://github.com/don-philipe/dotfiles.git
synced 2026-11-07 16:14:12 +01:00
Add pem-to-crt with openssl zsh func
This commit is contained in:
1 parent
4f6b390ba6
commit
16d1175f21
1 file changed
+4
@@ -21,6 +21,10 @@ checkcert()
|
|||||||
{
|
{
|
||||||
openssl s_client -connect "$1":443 2>/dev/null
|
openssl s_client -connect "$1":443 2>/dev/null
|
||||||
}
|
}
|
||||||
|
pem2crt()
|
||||||
|
{
|
||||||
|
openssl x509 -inform PEM -in "$1" -out "${1%.*}.crt"
|
||||||
|
}
|
||||||
|
|
||||||
# works only without tex-ending
|
# works only without tex-ending
|
||||||
tex2pdf()
|
tex2pdf()
|
||||||
|
|||||||
Reference in new issue
Block a user