We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STR:
Result: index.txt file is broken - rmclient.sh has issue Additionally, rmcert.sh is affected and cannot read properly CERT_SERIAL for such clients
POSSIBLE FIX: rmclient.sh
Fix index.txt by removing everything after pattern "/name=$1" in the line sed -i'.bak' "s/\/name=${1}\/.*//" /usr/share/easy-rsa/pki/index.txt
rmcert.sh
Define key serial number by keyname STATUS_CH=$(grep -e ${1}$ -e${1}/ ${INDEX_PATH} | awk '{print $1}' | tr -d '\n') if [[ $STATUS_CH = "V" ]]; then echo "Cert is VALID" CERT_SERIAL=$(grep ${1}/ ${INDEX_PATH} | awk '{print $3}' | tr -d '\n') echo "Will remove: ${CERT_SERIAL}" else echo "Cert is REVOKED" CERT_SERIAL=$(grep ${1}$ ${INDEX_PATH} | awk '{print $4}' | tr -d '\n') echo "Will remove: ${CERT_SERIAL}" fi
The text was updated successfully, but these errors were encountered:
Nice, thank you for reporting it. Would you like to submit PR for this?
Sorry, something went wrong.
fix for issue #5
3891aed
Included into main branch.
d3vilh
No branches or pull requests
STR:
Result: index.txt file is broken - rmclient.sh has issue
Additionally, rmcert.sh is affected and cannot read properly CERT_SERIAL for such clients
POSSIBLE FIX:
rmclient.sh
rmcert.sh
The text was updated successfully, but these errors were encountered: