Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108944 - SSL Certs
Summary: SSL Certs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other web server issues (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Infrastructure
URL: http://wiki.cacert.org/wiki/VhostTask...
Whiteboard: finance-audit:2015/11/28 (nil)
Keywords:
: 89803 137335 147596 166254 (view as bug list)
Depends on:
Blocks: 117837
  Show dependency tree
 
Reported: 2005-10-11 16:25 UTC by Corey Shields
Modified: 2015-11-28 23:48 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Foundation letter to CACert (letter_2_cacert.pdf,30.19 KB, application/pdf)
2008-05-23 02:14 UTC, William L. Thomson Jr. (RETIRED)
Details
Foundation letter to CACert (20080522_admin_auth_letter.pdf,30.78 KB, application/pdf)
2008-05-23 03:08 UTC, William L. Thomson Jr. (RETIRED)
Details
GPG signature to accompany letter_2_cacert.pdf (20080522_admin_auth_letter.pdf.asc,197 bytes, text/plain)
2008-05-23 03:22 UTC, William L. Thomson Jr. (RETIRED)
Details
Certificate of Incorporation (20040627_certificate_of_incorp.png,18.92 KB, image/png)
2008-05-23 03:37 UTC, Robin Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Corey Shields 2005-10-11 16:25:08 UTC
Let's plan out what SSL certs we need and I will draft a proposal for the board.
Here is what I can think of:

*.gentoo.org for warbler
*.gentoo.org for nuthatch
forums.gentoo.org for dove
dev.gentoo.org (imap/ssl on toucan)

Add any more I missed to this list in the next couple of days and I'll tally a
total.

-C
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2005-10-11 16:53:03 UTC
I'm guessing that any of our internal sites that won't get included in this is
fine for self-signed certs? Things like where nagios is at, ldap certs, stunnel
certs, etc. I really don't see a problem with having self-signed certs for that,
but anything that is considered a public service should have something better.
The www nodes shouldn't need any ssl certs. Outside of that, I can't think of
any site that needs ssl. Its only if we get another website class server like
nuthatch/warbler that we may need one.
Comment 2 Corey Shields 2005-10-11 17:45:07 UTC
Okay, wildcard certs are $199.95 each (for 1 yr), and the individual certs are 
29.95 each.  Going with what I layed out, that will be 2 wildcard and 2 
individual certs, totalling $459.80 
 
I think this is a very justifiable purchase.  The wildcard certs will allow us 
to expand on those 2 hosts and add whatever.gentoo.org with SSL (and not have 
to purchase additional certs). 
 
Now, to do this, the cert supplier will verify the request by sending a message 
to GENTOO.ORG@domainsbyproxy.com.  I assume you have that account, Lance? 
 
-C 
Comment 3 Corey Shields 2005-10-11 17:45:51 UTC
Another point:  Do we want to push this as a seperate purchase proposal, or 
push for the $1,500 infra budget and pay for it out of that? 
 
-C 
Comment 4 Jens Weibler 2005-10-14 13:07:29 UTC
please sse bug 89803.. just get a few certs from CaCert..
Comment 5 Lance Albertson (RETIRED) gentoo-dev 2005-10-14 13:23:00 UTC
*** Bug 89803 has been marked as a duplicate of this bug. ***
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2005-10-14 13:31:41 UTC
godaddy offers free certs for open source projects.  I doubt they're wildcard 
ones, but at least for the non wildcard ones it seems like that would be a 
good purchase. 
Comment 7 Corey Shields 2005-10-14 19:41:01 UTC
CaCert is not browser supported by default, that is why. 
 
Caleb has a good point in that we can get one from godaddy (I did it for OSL 
but then we ended up buying a wildcard cert anyway) but we can do that for 
forums. 
 
-C 
Comment 8 Tobias Sager 2005-10-15 08:06:33 UTC
Is it a no-go running two different servers with the same server key? This would
prevent the need of buying two wildcard certificates..
Comment 9 Corey Shields 2005-10-15 08:38:39 UTC
You can do that, but browsers will complain that the certificate (even a 
wildcard cert) does not match the IP address that the CRL was generated with.  
Such complaints and uncertainties about the authenticity of the cert is the 
reason why we are moving away from self-signed certs. 
Comment 10 Tobias Sager 2005-10-15 09:53:31 UTC
Are you sure about this?
No server with dynamic IP could then ever run SSL without prompts upon a changed
IP (and I am running such servers with no hickups).

I believe it is technically possible. Maybe the CA's policy denies it though.
Comment 11 Corey Shields 2005-10-15 10:11:12 UTC
Yes.  for example, try https://staff.osuosl.org/~cshields and then try 
https://www.osuosl.org (both using the same wildcard cert but on different IP 
addresses) 
 
Comment 12 Tobias Sager 2006-04-05 02:17:36 UTC
So, what's delaying this?
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-06-20 00:55:46 UTC
*** Bug 137335 has been marked as a duplicate of this bug. ***
Comment 14 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-08 17:58:20 UTC
Ok, wildcard certs are a mess.
I've included the above link, where CACert performed testing of every different method they could find.

Notice that the CN+subjAltNames works, but we have to include all names each time the certificate is generated, and regenerate it if the list of names changes. No existing CA organization (incl CACert) supports doing this yet.

For this reason, we'd need our own CA. I did originally create a Gentoo CA way back in July 2003 (the code is still locked away in my homedir on lark even), when we were experimenting with LDAP on eagle and peregrine. I still have the files, so we can re-use them.

Any specific objections to this? If not, I'll update my stuff on lark for the new style, and start firing out certs.
Comment 15 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-08 19:50:55 UTC
cshields: from your comment #11, your second link is broken because your website redirects http://www.osuosl.org/  to http://osuosl.org/, and http://osuosl.org/ does NOT match the wildcard. Could you change that on your site, and see if various things start to accept your cert?
Comment 16 Tobias Sager 2007-01-08 20:02:55 UTC
There is not alternative to using an "official" CA if you want a "trusted"
certificate. A certificate of a (self-signed) Gentoo CA would first be
untrusted.

What's speaking against using the free one from Godaddy?
Comment 17 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-08 20:12:34 UTC
tobias: not all of the discussion is on here, we are talking a lot about it in #gentoo-infra.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-02-10 21:33:26 UTC
*** Bug 166254 has been marked as a duplicate of this bug. ***
Comment 19 Lars Weiler (RETIRED) gentoo-dev 2007-03-09 01:24:52 UTC
*** Bug 147596 has been marked as a duplicate of this bug. ***
Comment 20 Lars Weiler (RETIRED) gentoo-dev 2007-03-09 02:32:32 UTC
Let me sum up some discussions we had in #gentoo-infra some time (January 2007) ago.

CACert might work, as we can use both wildcards and/or CN+subjAltNames.  We are also in control to recreate our CACert-certificate for further subjAltNames.

The document http://wiki.cacert.org/wiki/OrganisationEntities describes how to request a CACert-certificate for an organisation.  I already requested a certificate for a non-profit organisation over here in Germany, so I know this step, although it is easier in Germany, as there is an Organisation-assurer (who I know personally for a couple of years and who I can ask for further help).

What we need first is an admin for the certificates.  robbat2 or I can do that job, as we both have full CACert-points and we both know the CACert-system and the handling of certificates in common.

Then we need a copy of the Certificate of Incorporation from the Foundation.  I'm not sure if the State of New Mexico provides an online-database where they approve the existance of the Foundation, but that should fit as well.  As the Certificate of Incorporation does not contain any name of the requester on it, the Trustees have to send an additional letter where they request the certificate and who should be the admin.  An example is given in the URL above.

Once done, sent in and approved by CACert we can implement the certificates on our servers.
Comment 21 Corey Shields 2007-03-09 03:18:24 UTC
(In reply to comment #20)
> Then we need a copy of the Certificate of Incorporation from the Foundation. 
> I'm not sure if the State of New Mexico provides an online-database where they
> approve the existance of the Foundation, but that should fit as well.  As the
> Certificate of Incorporation does not contain any name of the requester on it,
> the Trustees have to send an additional letter where they request the
> certificate and who should be the admin.  An example is given in the URL above.

If it will suffice, g2boojum has scanned copies of the filing for incorporation, stamped by the county they were filed in.  This is (or was at least) in his devspace somewhere, but I'm sorry I don't recall the URL.  Don't ever recall a certificate, but what he had should be official enough.

Hope that helps some,

-Corey
Comment 22 Grant Goodyear (RETIRED) gentoo-dev 2007-03-09 03:47:51 UTC
http://dev.gentoo.org/~g2boojum/articles/p5.png

That's our certificate of incorporation.

I can't seem to get to wiki.cacert.org, but if somebody will send me
the necessary form, I'll fill it out.
Comment 23 Mike Doty (RETIRED) gentoo-dev 2007-03-09 04:03:08 UTC
(In reply to comment #22)
> http://dev.gentoo.org/~g2boojum/articles/p5.png
> 
> That's our certificate of incorporation.
> 
> I can't seem to get to wiki.cacert.org, but if somebody will send me
> the necessary form, I'll fill it out.
> 
I can "get" there, but I'm served a null page.
Comment 24 Lars Weiler (RETIRED) gentoo-dev 2007-03-09 22:20:02 UTC
(In reply to comment #22)
> http://dev.gentoo.org/~g2boojum/articles/p5.png
> 
> That's our certificate of incorporation.

Thanks Grant!  This scan should suffice the requirements, but I'll write an email to support (at) cacert.org if they are in need for further attestions.
 
> I can't seem to get to wiki.cacert.org, but if somebody will send me
> the necessary form, I'll fill it out.

Unfortunately the main DNS-Server for CACert went down today (which is out of responsibility for CACert).  But it's up again and most other DNS-Servers should be in sync already.

But let me add the example letter here, so that you know about what I am talking:

Example of letter from the executive/owner of the organisation

Required if the name of the requester does not appear on the Certificate of Incorporation. Scan and email the letter to support at cacert.org
 
The letter is written and signed by the person in charge of the organisation (replace company with association in your case) 


Dear Sir, 

I am requesting that an organisational account be created for my company, /Company Name/. This organisational account is associated to the following domains /domain name list/.

The technical contact for these Internet domains and the administrator for the CAcert organisation account is /Admin Name/, /Admin title/ who is holding an assured CAcert account /mail address/.

I have attached /Company Name/'s Certificate of Incorporation. *Optionally* The following business register will show /Company Name/'s active filing: /web address of register/

*Add any extra information if needed*

Sincerely, ... 
Comment 25 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-03-19 20:54:29 UTC
pylon: what was blocking in this bug?
Comment 26 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-03-19 21:32:31 UTC
Just updating per a direct mail from Pylon. The only thing remaining here is the trustees doing the letter to CACert.
Comment 27 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-03-19 21:52:35 UTC
Does the foundation status make any difference wrt to moving forward with CACert? If they just need a letter and the previously sent information on the foundation is enough. We can have someone draft something up ASAP.
Comment 28 Anton Bolshakov 2008-04-05 01:32:16 UTC
If you still choosing CA you might want to have a look at
 http://www.startssl.com/
Almost all browsers have their ROOT cert by default:
 http://cert.startcom.org/?app=140

They have class2 (*.gentoo.org) certs and support open source.
Comment 29 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-04-05 20:55:54 UTC
wltjr:
what's the status on that letter?

anton.bugs:
"support open source"? I know about their StartCom Linux, but are you implying they offer free certs to open source groups? I don't find any such mentions on their site.
Comment 30 Anton Bolshakov 2008-04-07 02:13:34 UTC
> "support open source"? I know about their StartCom Linux, but are you implying
> they offer free certs to open source groups? I don't find any such mentions on
> their site.

Correct me if I'm wrong, I thing they offer free certs for everyone, but you just have to pay US$24.90 once for the validation:
<quote>
http://www.startssl.com/?app=2

-StartSSL™ Verified has various advantages over the free, low-assurance (Class 1) certificates.
- StartSSL™ identity and organization validation are available for only US $ 24.90 each, where organization validation implies prior identity validation. Once validated, certificates are freely available through the advanced bulk purchase.

If you need to have your organization validated, prepare also such supporting documents like company license, company registry, ownership confirmation etc.
</quote>

By "support open source" I mean they also have their own StartCom Linux Operating Systems, and should be friendly to other distributions. I suggest to try talk with them and they might give us some discounts if it's really necessary.
Comment 31 Hanno Böck gentoo-dev 2008-04-07 12:17:20 UTC
As pylon has resigned, is there anyone managing the cacert-orgaassurance for gentoo? I'd volunteer for that if neccessary (and I'd strongly oppose to any »xy offers free / more or less free certs with certain limitations«, as I don't like this whole ssl-authority-structures and cacert is the only alternative that really qualifies as free in a similar sense than free software).
Comment 32 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-04-07 18:54:48 UTC
hanno: I'm an assurer with CACert already, and both pylon and myself were going to be in there originally. If you're an assurer with them as well, it would be good to have a backup for me.
Comment 33 Hanno Böck gentoo-dev 2008-04-07 19:09:26 UTC
robbat2: yeah, I am an assurer, 150 points and cats-tested, so I volunteer to be your backup :-)
Comment 34 Anton Bolshakov 2008-04-20 22:38:28 UTC
(In reply to comment #31)
> and I'd strongly oppose to any
> »xy offers free / more or less free certs with certain limitations«, as I
> don't like this whole ssl-authority-structures and cacert is the only
> alternative that really qualifies as free in a similar sense than free
> software).
> 

http://cert.startcom.org/policy.pdf:
<quote>
Philosophy
...StartCom Ltd. is also active in the Open 
Source Movement and a believer in the free flow of information and ideas over the Internet. 
StartCom Ltd. believes in the right to protect and secure information between two entities 
without discrimination of race , origin or religion. StartCom further believes that this right 
should not be bound to the financial capabilities of individuals, institutions, companies, or 
organizations. StartCom Ltd. aims to provide during its operation of SFSCA a free and viable 
alternative to commercial certification authorities and providers, without discrimination, limits 
or reduced values at any given time. 

Fees
SFSCA does not charge any fees for its basic Class 1 certificates and services.
This is the purpose of SFSCA and cannot be changed. StartCom Ltd. 
However reserves the right to offer additional fee based products and/or 
services through SFSCA at any given time and to impose a fee for other 
certificates, such as Class 2 and 3 certificates in order to finance its 
operation.
</quote>

I have nothing against Cacert and just wanted to check if are any alternative ways. It's your call anyway. </End of spam>
Comment 35 Anton Bolshakov 2008-04-20 23:09:20 UTC
(In reply to comment #14)
> For this reason, we'd need our own CA. I did originally create a Gentoo CA way
> back in July 2003 (the code is still locked away in my homedir on lark even),
> when we were experimenting with LDAP on eagle and peregrine. I still have the
> files, so we can re-use them.

btw, the same http://cert.startcom.org/policy.pdf says:
Intermediate CA:
The following organizations can request to run an intermediate certification 
authority, which allows a limited role as intermediate CA:
<..>
−Established and well known Open Source or Open Standards foundations/projects/vendors which have at least a one year record of active 
operation. The project should be of major importance to the open source 
community and show an obvious need for running an intermediate 
certification authority
Comment 36 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-05-19 20:33:10 UTC
Ok I am ready to act on this. Just need to know the extent of what infra needs me to do. I realize I need to draft said letter. Does it need be to signed? Do you want me to attach it here, or fax it in? If no sig, I can draft letter and attach here. Not sure I am comfortable with my signature being on it, attached here. If that matters, but might prefer to fax a signed letter in. Versus attaching to bug. Unless infra was planning on doing the interaction with CACert.

Just need to know how infra wants me to proceed from here. I assume we are sticking with CACert on this. Everything on file with NM is current. Which we can send in an updated version of that along with the letter.

Please advise so I can act on this ASAP. Thanks
Comment 37 Mike Doty (RETIRED) gentoo-dev 2008-05-19 20:53:18 UTC
(In reply to comment #36)
> Ok I am ready to act on this. Just need to know the extent of what infra needs
> me to do.[snip]
you'll need to wait for robbat2 to return from his holiday for exact instructions.  He should be back sometime this week.  It's probably best to catch him on IRC to work out the exact details.
Comment 38 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-05-19 20:59:30 UTC
Thanks and I will be in touch with robbat2 ASAP once he returns.
Comment 39 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-05-23 02:14:32 UTC
Created attachment 154023 [details]
Foundation letter to CACert
Comment 40 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-05-23 02:16:43 UTC
Ok I have drafted the requested letter to CACert. Attached in bug as pdf. Please let me know if I need to make any changes there. Here is a link, also included i the document to our current filing and records with New Mexico.
http://www.nmprc.state.nm.us/cgi-bin/prcdtl.cgi?2055978+GENTOO+TECHNOLOGIES+INC
Comment 41 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-05-23 03:08:37 UTC
Created attachment 154029 [details]
Foundation letter to CACert
Comment 42 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-05-23 03:22:13 UTC
Created attachment 154031 [details]
GPG signature to accompany letter_2_cacert.pdf
Comment 43 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-05-23 03:23:27 UTC
Correct link to New Mexico Corp registry:
http://www.nmprc.state.nm.us/cgi-bin/prcdtl.cgi?2463313+GENTOO+FOUNDATION+INC
Comment 44 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-05-23 03:37:12 UTC
Created attachment 154033 [details]
Certificate of Incorporation

Adding copy of the certificate of incorporation to show CACert.
Comment 45 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-05-23 03:37:44 UTC
Comment on attachment 154033 [details]
Certificate of Incorporation

Fix filetype
Comment 46 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-05-23 03:53:34 UTC
I've created the cacert@gentoo.org mail alias for CACert to have an official contact point for us, as well as place all the suitable details (primarily the attachments in this bug) in an email to them that I have just sent to them.

Other main block from the email:
Organisation Title   : Gentoo Foundation, Inc.
Contact Email        : cacert@gentoo.org
                     : (mail alias that reachs sysadmins for CACert matters)
Registration organisation address =>
Town/Suburb          : Albuquerque
State/Province       : New Mexico
Country              : US
Used domains are     : gentoo.org
Admins are           : robbat2@orbis-terrarum.net (also robbat2@gentoo.org)
Comment 47 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-05-23 14:32:20 UTC
CACert has now approved the documents and enabled my account for generating the certificates. Since this bug is crowded already, I've created new bug 223347 to handle actual requests for certificates.
Comment 48 Benny Pedersen 2012-08-03 09:04:43 UTC
still running bugs.g.o with selfsigned ssl certs ?, if not possible to resolve it should be possible to show the public key atleast
Comment 49 Anton Bolshakov 2012-08-03 09:25:24 UTC
(In reply to comment #48)
> still running bugs.g.o with selfsigned ssl certs ?, if not possible to
> resolve it should be possible to show the public key atleast

no, it's signed by CAcert Class 3 Root certificate.
Now, stop complaining. Go and install.
Comment 50 Anton Bolshakov 2015-11-06 01:37:50 UTC
FYI, there were some news where few trusted CA would provide a cert for free to the opensource projects.

For example, https://www.globalsign.com/en-sg/company/press/061913-globalsign-offers-free-ssl-certificates-open-source-projects/

This could be an alternative way.
Comment 51 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-11-07 00:02:21 UTC
@Anton:
If you actually checked, you'll see we're using certs from Digicert now. My whiteboard amendment was as part of the process to audit all possible expenses that I can find for accounting purposes.