Commit graph

38 commits

Author SHA1 Message Date
Brad Warren
be4467f38c expand mixin docs 2020-07-27 15:57:16 -07:00
Brad Warren
427faf70fe Prefetching is not supported with old cryptography 2020-07-10 12:35:34 -07:00
Brad Warren
b8211f81ba Use new OCSP interface. 2020-06-17 15:12:25 -07:00
Brad Warren
e7462fa2c5 Call save when removing cert. 2020-06-17 15:12:25 -07:00
Brad Warren
2d9ffa3a9c Remove warning.
If we hit this case, the cert is revoked and the error message we raise saying
this will be shown to the user higher up the stack.
2020-06-17 15:12:25 -07:00
Brad Warren
4d10e27a4d Use lineage.chain_path, not old chain_path. 2020-06-17 15:12:25 -07:00
Brad Warren
84cc6825b6 Add clarifying comment. 2020-06-17 15:12:25 -07:00
Brad Warren
2567167f13 use default timeout 2020-06-17 15:12:25 -07:00
Brad Warren
01b2bfdc49 Check cert_path before using it. 2020-06-17 15:12:25 -07:00
Brad Warren
d946c2a08d accept args and kwargs 2020-06-17 15:12:25 -07:00
Brad Warren
eca207f658 document more exceptions 2020-06-17 15:12:25 -07:00
Brad Warren
5e58503b2d update docs 2020-06-17 15:12:25 -07:00
Joona Hoikkala
ae76f2d3b5
Fix the OCSP api call 2020-04-30 01:20:15 +03:00
Joona Hoikkala
1e5d13f212
Implement deploy hook for ocsp prefetch functionality 2020-04-22 20:46:10 +03:00
Joona Hoikkala
741278ef67
Use certificate file path as key for the internal storage and remove revoked and deleted certificates from pool when met 2020-04-16 00:50:19 +03:00
Joona Hoikkala
57cd0c7d81
Address review comments 2020-04-09 02:42:26 +03:00
Joona Hoikkala
895330e009
Use filesystem.replace for atomic move operations 2020-03-04 20:21:00 +02:00
Joona Hoikkala
dc255aeb4f
Fix tests and handle PluginError 2020-02-26 20:08:20 +02:00
Joona Hoikkala
b0feb33b9b
Fix the backup target path 2020-02-26 18:51:25 +02:00
Joona Hoikkala
a42cf70f71
More review comment fixes 2020-02-19 20:44:37 +02:00
Joona Hoikkala
d6dafb0a1b Merge branch 'ocsp_apache_continued' of github.com:certbot/certbot into ocsp_apache_continued 2020-02-19 18:07:58 +02:00
Joona Hoikkala
f192cbf12a
Address review comments 2020-02-19 18:07:30 +02:00
Joona Hoikkala
5a8032d5cc
Update certbot-apache/certbot_apache/_internal/prefetch_ocsp.py
Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>
2020-02-19 18:04:30 +02:00
Joona Hoikkala
a446e124e4
Fix tests after moving ocsp to public api 2020-02-12 17:55:10 +02:00
Joona Hoikkala
caf2ad2cb1
Add overview documentation of the functionality to .py 2020-02-05 17:00:08 +02:00
Joona Hoikkala
6395cc2b48
Copy dbm file to work directory before writing 2020-02-04 20:13:28 +02:00
Joona Hoikkala
1ad23f9db0
Move DBM handling to a context manager 2020-02-04 13:13:04 +02:00
Joona Hoikkala
fd74aba422
Address review comments 2020-02-03 22:18:52 +02:00
Joona Hoikkala
b6ea34c61d
Address review comments 2020-01-31 20:06:52 +02:00
Joona Hoikkala
a8a106c325
Small fixes 2020-01-30 16:58:14 +02:00
Joona Hoikkala
4138259c51
Add certbot-apache tests and mypy type hints 2020-01-27 15:10:04 +02:00
Joona Hoikkala
549061249f
Parse producedAt, thisUpdate and nextUpdate values from OCSP response and calculate Apache internal TTL 2020-01-26 23:42:29 +02:00
Joona Hoikkala
53f8ad88db
Enable OCSP and revocation checking based on certificate and chain filepaths 2020-01-26 15:42:01 +02:00
Joona Hoikkala
fe0a985228
Call restart() from superclass from OCSPPrefetchMixin 2020-01-24 22:35:22 +02:00
Joona Hoikkala
a9ce156d9c
Restore dbm database if Apache restart fails 2020-01-24 16:06:11 +02:00
Joona Hoikkala
0904062015
Add link to mypy issue in super() init call 2020-01-24 16:01:50 +02:00
Joona Hoikkala
6cfc493a71
Move restart() override and interface registration to OCSPPrefetchMixin 2020-01-24 15:02:25 +02:00
Joona Hoikkala
fa8a68d45f
Move the OCSP prefetch functionality to a mixin class 2020-01-22 20:51:09 +02:00