Skip to content

Commit

Permalink
Update instances of acme-staging url to acme-staging-v02 (#5734) (#5746)
Browse files Browse the repository at this point in the history
* update instances of acme-staging url to acme-staging-v02

* keep example client as v1

* keep deactivate script as v1

(cherry picked from commit 5ecb68f)
  • Loading branch information
bmw authored and ohemorange committed Mar 17, 2018
1 parent cedbf89 commit eda458b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion certbot/constants.py
Expand Up @@ -107,7 +107,7 @@
dns_route53=False

)
STAGING_URI = "https://acme-staging.api.letsencrypt.org/directory"
STAGING_URI = "https://acme-staging-v02.api.letsencrypt.org/directory"

# The set of reasons for revoking a certificate is defined in RFC 5280 in
# section 5.3.1. The reasons that users are allowed to submit are restricted to
Expand Down
2 changes: 1 addition & 1 deletion certbot/tests/storage_test.py
Expand Up @@ -726,7 +726,7 @@ def test_is_test_cert(self):
self.test_rc.configuration["renewalparams"] = {}
rp = self.test_rc.configuration["renewalparams"]
self.assertEqual(self.test_rc.is_test_cert, False)
rp["server"] = "https://acme-staging.api.letsencrypt.org/directory"
rp["server"] = "https://acme-staging-v02.api.letsencrypt.org/directory"
self.assertEqual(self.test_rc.is_test_cert, True)
rp["server"] = "https://staging.someotherca.com/directory"
self.assertEqual(self.test_rc.is_test_cert, True)
Expand Down
2 changes: 1 addition & 1 deletion certbot/tests/testdata/sample-renewal.conf
Expand Up @@ -61,7 +61,7 @@ chain_path = /home/ubuntu/letsencrypt/chain.pem
break_my_certs = False
standalone = True
manual = False
server = https://acme-staging.api.letsencrypt.org/directory
server = https://acme-staging-v02.api.letsencrypt.org/directory
standalone_supported_challenges = "tls-sni-01,http-01"
webroot = False
os_packages_only = False
Expand Down
10 changes: 5 additions & 5 deletions docs/contributing.rst
Expand Up @@ -43,7 +43,7 @@ each shell where you're working:
.. code-block:: shell
source ./venv/bin/activate
export SERVER=https://acme-staging.api.letsencrypt.org/directory
export SERVER=https://acme-staging-v02.api.letsencrypt.org/directory
source tests/integration/_common.sh
After that, your shell will be using the virtual environment, your copy of
Expand Down Expand Up @@ -443,10 +443,10 @@ For squeeze you will need to:
FreeBSD
-------

Packages can be installed on FreeBSD using ``pkg``,
or any other port-management tool (``portupgrade``, ``portmanager``, etc.)
from the pre-built package or can be built and installed from ports.
Either way will ensure proper installation of all the dependencies required
Packages can be installed on FreeBSD using ``pkg``,
or any other port-management tool (``portupgrade``, ``portmanager``, etc.)
from the pre-built package or can be built and installed from ports.
Either way will ensure proper installation of all the dependencies required
for the package.

FreeBSD by default uses ``tcsh``. In order to activate virtualenv (see
Expand Down
2 changes: 1 addition & 1 deletion examples/dev-cli.ini
@@ -1,5 +1,5 @@
# Always use the staging/testing server - avoids rate limiting
server = https://acme-staging.api.letsencrypt.org/directory
server = https://acme-staging-v02.api.letsencrypt.org/directory

# This is an example configuration file for developers
config-dir = /tmp/le/conf
Expand Down

0 comments on commit eda458b

Please sign in to comment.