Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve *.php.net sites with HSTS and preload them #652

Open
Ayesh opened this issue Jul 13, 2022 · 1 comment
Open

Serve *.php.net sites with HSTS and preload them #652

Ayesh opened this issue Jul 13, 2022 · 1 comment
Labels

Comments

@Ayesh
Copy link
Contributor

Ayesh commented Jul 13, 2022

As part of #623, I took a look at the changes proposed by @localheinz. All sites I checked so far seem to be working correctly with HTTPS, and the certificates seem to be either automated with Letsencrypt, or as it the case for the main *.php.net certificate, is issued yearly by Global Sign.

Copying my comment in the linked PR above:

As far as I can see, php.net sites such as {pecl|pear|windows|gtk|conf|qa|bugs|news|wiki}.php.net use the same HTTPS certificate with CN *.php.net, so I assume they are safe to use with HTTPS without a doubt because any issues with this certificate will alert pretty much everyone.

Looking at {windows|downloads}.php.net certificates on crt.sh, they seem to be automated, so they are safe to use too.

{bk2|monitoring|prototype-meta}.php.net seem to be automated too, but I have never had any insight into who and how these sites run. Again, the crt.sh data shows the certificates are being renewed correctly.

I'd like to see if we can come to a consensus on if we can serve all *.php.net sites with an HSTS header, so browsers remember and trust (TOFU) the PHP sites to always use HTTPS, even if a user clicks a plain HTTP link, loads a resource on any php.net site, etc. Further, we can preload *.php.net as HSTS to browsers. GitHub, for example, serves all of its *.github.com sites with HSTS, and preloads them as well.

@Apetree100122
Copy link

 623, I t
   ook a look a
    t the changes pr
    oposed by @localhe
     inz. All sites I checked
       so far s
     eem to be work 
ing correctly with HTTPS, and the certificates s
  eem to b
  e either automated with Letsencrypt, or as it the case
 for the main *.php.n
           et certificate, is i
                                    ssued y
                                    early by Global Sign.
C
opying my co
             mmen
                   t in the link
                             ed PR above:
    As far as I can s
                              ee, php.net s
                     ites such as {
pecl|
pear|windows
|gtk|conf|qa|bugs|
news|wiki}.php.net use
 the same HTTPS ce
rtificate with CN *.php.net, so
              I assume they are safe to use with H
           TTPS without a doubt because any issues with th
                        is certificate will alert pretty much every
                                one.
    L
    ooking at 
{windows
|downloads
}.php.net certificates 
  on crt.sh, they s
                       eem to be aut
          omated, so they are safe to use too.
    {
bk
2|monitoring
|prototype-meta
}.php.net s
            eem to be automated t 
                     oo, but I have never had any insigh
                                                   t int
                      o who and how the
                                                    se sites run. Again,
                                                    the crt.sh data shows the certificates are being r
  enewed correctly.
I'd like t
                  o see if we can c
                  ome to a consen
                         su
                         s on if we c
                           an serve all *.php.net sites with
                           an HSTS header, so browse
    rs remember and tr
                                     ust (
TO
      FU
) the
          PHP sites to always use 
       HTTPS, even if a user clicks a plain 
                 HTTP link, loads a resource on any 
         php.net sit
                  e, etc. Further, we can prel
                                     oad *.php.net as HSTS to browsers. GitHub, for example, serves all of its *.github.com si
                                                             tes w
                                                             ith H
                                                                  STS, and preloads them as well. 1 👍🏻 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@derickr @Ayesh @Apetree100122 and others