You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is unnecessary for the script to require root for running the script.
I could be preparing everything on a different machine from where the certs will actually be used (think puppet, chef, ansible ...etc)
I could be running the script where the configuration files actually are, e.g. on the master where the configuration will be kept or a git clone, or even some workspace that I gets rsync'd to the target machine.
Think of the difference between make and make install, usually I would prefer to do make install DESTDIR=/tmp/inspectme rather than blindly run a script as root.
is there anything similar to wildcard certs supported?
why is port 443 necessary? arguably, if i'm using puppet, i know what the host key is going to be, then maybe a challenge can be arranged based on that fact.
can we isolate the parts that require root and use sudo instead, or use something like fabric and have a target host / target host(s).
Thanks for your interest in the project! I will do my best to answer your questions.
Yes, you just need superuser access to perform the domain validation challenges. The goal of the protocol is to prove complete authority over the webserver, port 443, the standard port for HTTPS.
The current challenges are defined at the end of this document. The client must be able to satisfy them in order to receive a DV certificate.
We need to verify authoritative control over the port used for standard HTTPS communication. This is a protected port, and represents the service we are currently trying to validate. These challenges prove the exact level of control as the authorization issued by the certificate. The "client" has complete and arbitrary control over the port.
I saw you posted a question on the acme-spec document about having knowledge of the ssh host key (which is the correct place for such a question). I would be hesitant to implement such a challenge. The only benefits I see is if you allowed the challenge to be off-path via a remote proof-of-possession challenge (which would not be sufficient for issuance and would allow attackers who compromised the key to remotely obtain certificates). However, discussion should be on the protocol spec. In general, ACME challenges are designed to be strictly stronger than the status quo. I believe a host key challenge would involve additional and unnecessary attack vectors. See How do you prevent mistakenly issuing certificates? #47 for more info.
Running the script is the same level of privilege required to make configuration changes to existing webservers and restart the servers (to implement the changes). If you would like to extend the client to support mass system administration, that would be excellent! Currently, we are still locking down the functionality of the core components and abstracting out the API.
Hopefully, I answered your questions. If you have any other client questions, feel free to ask.
Activity
dnozay commentedon Nov 27, 2014
incentive # 2: it's also very inconvenient for testing the script.
kuba commentedon Nov 27, 2014
@dnozay ptal #63 (comment) and #63 (comment)
@jdkasten, this probably needs a FAQ entry :)
jdkasten commentedon Nov 27, 2014
Thanks @kuba! I will figure out a good place to put this information.
dnozay commentedon Nov 27, 2014
You wouldn't need
rootif you havesudoaccess, or if the server is already configured to pickup keys from a specified location you have access to.@kuba, @schoen,
rootand usesudoinstead, or use something likefabricand have a target host / target host(s).jdkasten commentedon Nov 27, 2014
Hi Damien!
Thanks for your interest in the project! I will do my best to answer your questions.
Yes, you just need superuser access to perform the domain validation challenges. The goal of the protocol is to prove complete authority over the webserver, port 443, the standard port for HTTPS.
The current challenges are defined at the end of this document. The client must be able to satisfy them in order to receive a DV certificate.
I saw you posted a question on the acme-spec document about having knowledge of the ssh host key (which is the correct place for such a question). I would be hesitant to implement such a challenge. The only benefits I see is if you allowed the challenge to be off-path via a remote proof-of-possession challenge (which would not be sufficient for issuance and would allow attackers who compromised the key to remotely obtain certificates). However, discussion should be on the protocol spec. In general, ACME challenges are designed to be strictly stronger than the status quo. I believe a host key challenge would involve additional and unnecessary attack vectors. See How do you prevent mistakenly issuing certificates? #47 for more info.
Hopefully, I answered your questions. If you have any other client questions, feel free to ask.
jdkasten commentedon Jan 15, 2015
This conversation has transitioned to other forums.
Merge pull request certbot#83 from certbot/social-links
Fix IE keys starting with a digit. GH fixes certbot#83