Switch trac to .zulip.net and add cert

We maintain a legacy hhq.c cert to avoid breaking links.

(imported from commit e9953a3cc93f057abd79d7ce652e0942051ff5dd)
This commit is contained in:
Luke Faraone 2013-09-04 17:55:53 -04:00 committed by Zev Benjamin
parent e58e6f1b7d
commit 4f6159049d
3 changed files with 95 additions and 4 deletions

View File

@ -0,0 +1,36 @@
-----BEGIN CERTIFICATE-----
MIIGXDCCBUSgAwIBAgIDC9JCMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJ
TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0
YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3Mg
MSBQcmltYXJ5IEludGVybWVkaWF0ZSBTZXJ2ZXIgQ0EwHhcNMTMwOTA0MDU1ODM3
WhcNMTQwOTA1MTYxMTEwWjBsMRkwFwYDVQQNExBub0dzM0d5b1R0RExncWQxMQsw
CQYDVQQGEwJVUzEaMBgGA1UEAxMRdHJhYy5odW1idWdocS5jb20xJjAkBgkqhkiG
9w0BCQEWF2hvc3RtYXN0ZXJAaHVtYnVnaHEuY29tMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAzTJPAx4P6DYswRvG+nlzozYqEQJ07YoUMFOW+Gl11uu+
OTF7coAFfI6zbCyufA8z3vekSYst6DGvkPJVzSgPffJX6TUrfEGmWjZ1cGR9yYx4
n894ZjD0rQprnc5v0AU1dusYIzw/DwxoV0Ah6v+XW3ovlllAPkuzgDPgL4pLbvnR
qMjuJZpbRRL5L2WMP9ViS5BtZnwQaT9f36IOb+La62n5WuBUrcY8VqTALoZ0Mn1e
PedwWfP1ASpTBaoSIOXnX99bdyfcXAZ34SIVh4w2or6DiweRWPCLAGmf4zcX4JZu
LRqodRzAYp8Nb+e9fyECNQXh7d9eCGGnRQKvTbWQsQIDAQABo4IC5DCCAuAwCQYD
VR0TBA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Y2xhc3MxLnNl
cnZlci5jYS5jcnQwIwYDVR0SBBwwGoYYaHR0cDovL3d3dy5zdGFydHNzbC5jb20v
MA0GCSqGSIb3DQEBBQUAA4IBAQAesF3CsRJ0xYo6DMY4nK+pUdNvo36hnbmibMeI
mm4likq/gLPIWTujD/nRmfanhDAf4s5N0KTC7Dg/cz4F3b79k8E84abxA5FOvyBj
bBqQWTAQk55N2sZYiZKsUC7Jg6gHT4A13pYCpO6YXog7Yu6MsNuH+1PSMe1bLy7f
n3zSU5KIN39x5DuHz50bG/1M/IM+7OUkexojZsDtIvjAvNcdQuEEQqsPXCSkksPp
Bq7qVB6XUKiTlbIPz41JkJS6uAHJ6/bScj/wcPGsxKVo9DxmThfJ4WPircObR0gD
keboaE9UsYvK25Zr32NHDSN0cj21TzuVHwVIioz6ct3xkZYb
-----END CERTIFICATE-----

View File

@ -1,14 +1,33 @@
<VirtualHost *:80>
ServerName trac.zulip.net
Redirect permanent / https://trac.zulip.net/
</VirtualHost>
<VirtualHost *:80>
ServerName trac.humbughq.com
Redirect permanent / https://trac.humbughq.com/
Redirect permanent / https://trac.zulip.net/
</VirtualHost>
<VirtualHost *:443>
ServerName trac.humbughq.com
Redirect permanent / https://trac.zulip.net/
SSLEngine on
SSLCertificateFile /etc/ssl/certs/trac.humbughq.com.crt
SSLCertificateKeyFile /etc/ssl/private/trac.key
SSLCertificateChainFile /etc/ssl/certs/sub.class1.server.ca.pem
SSLCACertificateFile /etc/ssl/certs/ca.pem
</VirtualHost>
<VirtualHost *:443>
ServerName trac.humbughq.com
ServerName trac.zulip.net
SSLEngine on
SSLCertificateFile /etc/apache2/certs/humbug-self-signed.crt
SSLCertificateKeyFile /etc/apache2/certs/humbug-self-signed.key
SSLCertificateFile /etc/ssl/certs/trac.zulip.net.crt
SSLCertificateKeyFile /etc/ssl/private/trac.key
SSLCertificateChainFile /etc/ssl/certs/sub.class1.server.ca.pem
SSLCACertificateFile /etc/ssl/certs/ca.pem
Header add Strict-Transport-Security "max-age=15768000"
Header add X-Frame-Options DENY