Skip to content

Commit 9b09869

Browse files
Actually use ECDSA certificates by default
I forgot to make ECDSA certificates the default in the previous release, so this is just a small fix to actually make it so.
1 parent b0c8782 commit 9b09869

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

docs/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 3.0.1
4+
- Actually use ECDSA certificates by default.
5+
- Eagerness to deploy latest version this update was forgotten.
6+
37
### 3.0.0
48
- Add support for DNS-01 challenges.
59
- Check out the list of all currently [supported authenticators](./certbot_authenticators.md).

docs/dockerhub_tags.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ are updated.
1717

1818
| Major | Minor | Patch | Nginx |
1919
| ----: | ----: | ----: | :----------------- |
20-
| 3 | 3.0 | 3.0.0 | 3.0.0-nginx1.21.3 |
20+
| 3 | 3.0 | 3.0.1 | 3.0.1-nginx1.21.3 |
21+
| | | 3.0.0 | 3.0.0-nginx1.21.3 |
2122
| 2 | 2.4 | 2.4.1 | 2.4.1-nginx1.21.3 |
2223
| | | | 2.4.1-nginx1.21.1 |
2324
| | | | 2.4.1-nginx1.21.0 |

docs/good_to_know.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ yet, but if you don't expect to serve anything outisde the "Modern" row in
129129
to request these types of certificates.
130130

131131
This is achieved by setting the [environment variable](../README.md#optional)
132-
`USE_ECDSA=1` (the default since version 3.0.0), and you can optionally tune
132+
`USE_ECDSA=1` (the default since version 3.0.1), and you can optionally tune
133133
which [curve][18] to use with `ELLIPTIC_CURVE`. If you already have RSA
134134
certificates downloaded you will either have to wait until they expire, or
135135
[force](./advanced_usage.md#manualforce-renewal) a renewal, before this change

examples/nginx-certbot.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ELLIPTIC_CURVE=secp256r1
77
RENEWAL_INTERVAL=8d
88
RSA_KEY_SIZE=2048
99
STAGING=0
10-
USE_ECDSA=0
10+
USE_ECDSA=1
1111

1212
# Advanced (Defaults)
1313
CERTBOT_AUTHENTICATOR=webroot

src/scripts/run_certbot.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ for cert_name in "${!certificates[@]}"; do
118118
elif [[ "${cert_name,,}" =~ (^|[-.])rsa([-.]|$) ]]; then
119119
debug "Found variant of 'RSA' in name '${cert_name}"
120120
key_type="rsa"
121-
elif [ "${USE_ECDSA}" == "1" ]; then
122-
key_type="ecdsa"
123-
else
121+
elif [ "${USE_ECDSA}" == "0" ]; then
124122
key_type="rsa"
123+
else
124+
key_type="ecdsa"
125125
fi
126126

127127
# Determine the authenticator to use to solve the authentication challenge.

0 commit comments

Comments
 (0)