Skip to content
Snippets Groups Projects
Commit 561b83f5 authored by nimrod's avatar nimrod
Browse files

Change dhparams check to script, correct check.

parent c4b8ff69
No related branches found
No related tags found
No related merge requests found
#!/bin/sh -e
if [ -f /etc/ssl/dhparams.pem ]
then
openssl dhparam -in /etc/ssl/dhparams.pem -text -noout | sed -n 's/Diffie-Hellman-Parameters: (\([0-9]*\) bit)/\1/p'
else
echo 0
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment