Get access to CertBot User-Agent field #123
-
Hello, Can you suggest best way to access Certbot User-agent and user-agent-comments fields that are passed from certbot to access from CAHandler? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
Hi, there is no easy way to do this without changing the code. Can you describe the use-case behind your request a bid more in detail? Further are you only interested in the user-agent and comments fields or some more? |
Beta Was this translation helpful? Give feedback.
-
I think the first code for testing will be ready beginning of next week. Will you install manually, or do you prefer a wsgi docker image, rpm or deb? |
Beta Was this translation helpful? Give feedback.
-
Ok here we go. First code is ready. I created a separate branch for testing. Below some instructions: This version requires a database-update. Please create a backup of You need to modify the
The headers will be added into the You can load the header information with the Output from the above example would be:
Please give it a try and let me know if it works for you. Feedback is always welcome... |
Beta Was this translation helpful? Give feedback.
-
Correct! My above instructions are incomplete. In addition, you need to
Sorry for causing confusion... Please do not forget to run the |
Beta Was this translation helpful? Give feedback.
-
Feature has been included in a2c v0.30. Thus I am closing this discussion. |
Beta Was this translation helpful? Give feedback.
Thank you for your time on this. It really works!