Hi! My name is David Coles (He/Him/They/Them). I'm a Principal Software Engineer at Sony Interactive Entertainment with a focus on System Architecture.
I mostly program in Python, Rust and C/C++.
You can also find me and my thoughts on cohost.
ACME ("Let's Encrypt") client for Linode Object Storage
License: MIT License
Hi! My name is David Coles (He/Him/They/Them). I'm a Principal Software Engineer at Sony Interactive Entertainment with a focus on System Architecture.
I mostly program in Python, Rust and C/C++.
You can also find me and my thoughts on cohost.
Howdy! I came across this tool while looking for a certbot
plugin to handle renewal for my linode object storage. I run certbot in a container as part of a docker-compose outlay for my application. How hard would it be to adapt this to certbot plugin? I'm not particularly familiar with the tools or the linode API so while I'm interested in working on this myself, I figure it might be trivial to someone who already knows the steps in this process.
Thanks for your time!
If you add a flag for the bucket name and separate it from the domain it would allow for creating certs for the custom domains set for the bucket.
In the challenge response, I got the status "pending". So I had to change line 135 of __main__.py
from:
challenge.poll_until_not({'processing'})
to:
challenge.poll_until_not({'pending','processing'})
Hi there,
Thanks so much for this. I tried it from macos today and i received the following error. Here is the majority of the output. (FYI: Ichanged my bucket name => BUCKETNAME)
DEBUG:urllib3.connectionpool:http://BUCKETNAME:80 "HEAD /.well-known/acme-challenge/BmcmGIl_MLJ9o7jVIdmxYxGcm8oXzXcOyj88tXC8svk HTTP/1.1" 200 0
DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/chall-v3/170804966672/mkpqwg HTTP/1.1" 200 187
DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/chall-v3/170804966672/mkpqwg HTTP/1.1" 200 187
DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/chall-v3/170804966672/mkpqwg HTTP/1.1" 200 665
DEBUG:urllib3.connectionpool:https://api.linode.com:443 "POST /v4/object-storage/buckets/us-east-1/BUCKETNAME/object-url HTTP/1.1" 200 261
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): us-east-1.linodeobjects.com:443
DEBUG:urllib3.connectionpool:https://us-east-1.linodeobjects.com:443 "DELETE /BUCKETNAME/.well-known/acme-challenge/BmcmGIl_MLJ9o7jVIdmxYxGcm8oXzXcOyj88tXC8svk?Signature=EqopKbznzq866NfT3RaWe2DDCLc%3D&Expires=1667223743&AWSAccessKeyId=UQ9A5VC5FI7QSRZIJZPT HTTP/1.1" 204 0
INFO:root:Finalizing order
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/josh/acme-linode-objectstorage/acme_linode_objectstorage/main.py", line 186, in
sys.exit(main())
File "/Users/josh/acme-linode-objectstorage/acme_linode_objectstorage/main.py", line 150, in main
order.finalize(csr)
File "/Users/josh/acme-linode-objectstorage/acme_linode_objectstorage/acme.py", line 154, in finalize
raise RuntimeError(f'Invalid state: {self.status}')
RuntimeError: Invalid state: pending
I have failed to get to install this tool.
Tried to clone but it no work.
git clone https://github.com/dcoles/acme-linode-objectstorage/issues/new
root@localhost:~# ls
acme-linode-objectstorage
root@localhost:~# python3 -m acme_linode_objectstorage -k account_key.pem cdn.sleep.finance
/usr/bin/python3: No module named acme_linode_objectstorage
tried to use use pip install
root@localhost:~# pip install git+https://github.com/dcoles/acme-linode-objectstorage
Collecting git+https://github.com/dcoles/acme-linode-objectstorage
Cloning https://github.com/dcoles/acme-linode-objectstorage to /tmp/pip-req-build-1vti77ne
Running command git clone --filter=blob:none --quiet https://github.com/dcoles/acme-linode-objectstorage /tmp/pip-req-build-1vti77ne
Resolved https://github.com/dcoles/acme-linode-objectstorage to commit 3d10f677b778600528981d4953f30bb1c494c2b5
ERROR: git+https://github.com/dcoles/acme-linode-objectstorage does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
still failed. How to get this to the vps and start using?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.