Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
1b
#!/bin/bash
check=$(openssl verify input.txt| grep "self signed certificate")
if [ -n "$check" ]; then
echo "1"
else
echo "0"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment