getssl icon indicating copy to clipboard operation
getssl copied to clipboard

Improvement request: "subject"

Open avv-github opened this issue 9 years ago • 7 comments

Hello, I really do like your script: simple self-contained, self-maintained if desired, n the spirit of Xnix philosophy. I noticed the the request subject, hence the generated certificates, do not have a valid subject and owner; which leads to some alerts in the browsers or apps. I see you use: openssl --sub "//" Would you consider new options to be able to specify this? Thanks. A.

avv-github avatar Dec 12 '16 15:12 avv-github

Hi,

Yes I'm open to adding an option. I believe Let's Encrypt strips much of the information out of the "subject" on the real certificate though.

ghost avatar Dec 12 '16 15:12 ghost

Hello,

Thank you for your quick and positive reaction, indeed.

Well, at least if the Country and Organization could be present, it would already be a great plus, I guess :)

If I can be of any help, let me know.

Cheers

On 12/12/2016 04:28 PM, serverco wrote:

Hi,

Yes I'm open to adding an option. I believe Let's Encrypt strips much of the information out of the "subject" on the real certificate though.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/srvrco/getssl/issues/193#issuecomment-266460052, or mute the thread https://github.com/notifications/unsubscribe-auth/AT3u-CV3qEn77ehvZoN1suntECxeGRjOks5rHWgagaJpZM4LKqZj.

avv-github avatar Dec 12 '16 15:12 avv-github

Let's Encrypt can not verify the country and organisation - hence those would be stripped out, sorry.

ghost avatar Dec 12 '16 15:12 ghost

Damn, that is an improvement for them, now ;) Thank you for actions anyhow. I continue to promote your script :)

Cheers

avv-github avatar Dec 12 '16 15:12 avv-github

Thank you.

I suspect they are very unlikely to include anything that they can't verify automatically (such as organisation).

I will have a look at what they do allow, and see about including that.

ghost avatar Dec 12 '16 15:12 ghost

Great! Thank you.

avv-github avatar Dec 12 '16 15:12 avv-github

I've created a variable CSR_SUBJECT which can be set in v1.86

Currently, most settings in there are cleared by Let's Encrypt, but the option is there to set them if required, and the ACME server accepts them.

ghost avatar Dec 16 '16 13:12 ghost