diff options
Diffstat (limited to 'letsencrypt-helpers')
-rwxr-xr-x | letsencrypt-helpers/make-combined-crt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/letsencrypt-helpers/make-combined-crt b/letsencrypt-helpers/make-combined-crt index 531335f..885ee16 100755 --- a/letsencrypt-helpers/make-combined-crt +++ b/letsencrypt-helpers/make-combined-crt @@ -99,7 +99,7 @@ fi ( cat "$chain" -size=$(openssl rsa < "$cn".key -text -noout | awk -F: '$1 == "Private-Key" {print $2}' | sed -e 's/[^0-9]//g') +size=$(openssl rsa < "$cn".key -text -noout | awk -F: '$1 ~ "Private-Key" {print $2}' | sed -r 's/[^0-9]*([0-9]*).*/\1/g') if [ -e extra/dh-"$size".pem ]; then cat extra/dh-"$size".pem; else |