Skip to content
Browse files

SSL対応

  • Loading branch information...
1 parent 9fe1ad7 commit 0f954669aa708a9736cbb340462564a26189c96b @nsyee00 nsyee00 committed Nov 7, 2012
Showing with 10 additions and 89 deletions.
  1. +0 −61 certs/server.crt
  2. +0 −11 certs/server.csr
  3. +0 −15 certs/server.key
  4. +2 −2 config/development.coffee
  5. +4 −0 config/production.coffee
  6. +4 −0 config/test.coffee
View
61 certs/server.crt
@@ -1,61 +0,0 @@
-Certificate:
- Data:
- Version: 3 (0x2)
- Serial Number:
- bd:b8:79:a4:64:ba:e0:40
- Signature Algorithm: sha1WithRSAEncryption
- Issuer: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=127.0.0.1
- Validity
- Not Before: Nov 7 05:48:11 2012 GMT
- Not After : Nov 7 05:48:11 2013 GMT
- Subject: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=127.0.0.1
- Subject Public Key Info:
- Public Key Algorithm: rsaEncryption
- RSA Public Key: (1024 bit)
- Modulus (1024 bit):
- 00:a1:0b:ea:d5:65:70:6f:90:42:7c:2d:64:41:c5:
- 83:9e:37:d9:6f:f2:e4:94:e2:cd:d7:fb:ce:9a:fe:
- d0:05:3f:c8:40:fa:93:21:9f:89:a5:36:8d:58:b2:
- ec:96:a6:98:d4:50:b9:86:08:f7:1f:10:7f:71:5d:
- f1:e4:07:66:bd:c4:2a:f3:81:fa:d7:f4:47:40:03:
- 17:4f:ee:39:4b:ae:9f:e1:7b:4d:6d:36:ea:00:b5:
- 0f:23:90:90:ba:45:74:4a:c9:d0:36:61:21:b2:be:
- 8d:79:7c:3c:6b:42:3f:c9:32:2d:db:dd:4f:6a:23:
- c8:6e:ac:aa:47:35:d1:2c:d9
- Exponent: 65537 (0x10001)
- X509v3 extensions:
- X509v3 Basic Constraints:
- CA:FALSE
- Netscape Comment:
- OpenSSL Generated Certificate
- X509v3 Subject Key Identifier:
- FD:33:5D:EB:E5:9B:89:B5:8E:8E:8A:F1:DA:01:49:15:ED:9C:62:C9
- X509v3 Authority Key Identifier:
- keyid:97:3B:92:BE:2B:98:29:B3:58:39:70:C1:B3:4C:62:7D:A3:09:D8:B2
-
- Signature Algorithm: sha1WithRSAEncryption
- 92:f9:f5:52:35:36:37:3b:10:75:c3:99:d0:42:2d:fa:88:4a:
- 77:8a:54:51:79:54:c3:fd:46:7a:4b:46:3a:2e:ff:bd:06:c1:
- 64:2b:ef:4b:20:72:09:cb:85:bb:47:1b:f7:6e:e7:76:8b:58:
- 33:a3:38:e6:22:c0:8e:29:0a:9b:bb:89:a5:3c:26:6a:42:f7:
- c8:bc:81:56:4e:f5:9b:9d:7b:07:1a:2d:52:c3:08:48:a0:28:
- 80:86:28:24:46:45:40:a9:6e:54:2b:58:d7:be:3f:17:f1:a1:
- d2:54:f8:e3:a3:8d:d1:c8:4b:09:4b:01:22:c1:33:e2:9b:7e:
- 66:28
------BEGIN CERTIFICATE-----
-MIICqzCCAhSgAwIBAgIJAL24eaRkuuBAMA0GCSqGSIb3DQEBBQUAMFkxCzAJBgNV
-BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
-aWRnaXRzIFB0eSBMdGQxEjAQBgNVBAMTCTEyNy4wLjAuMTAeFw0xMjExMDcwNTQ4
-MTFaFw0xMzExMDcwNTQ4MTFaMFkxCzAJBgNVBAYTAkFVMRMwEQYDVQQIEwpTb21l
-LVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxEjAQBgNV
-BAMTCTEyNy4wLjAuMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAoQvq1WVw
-b5BCfC1kQcWDnjfZb/LklOLN1/vOmv7QBT/IQPqTIZ+JpTaNWLLslqaY1FC5hgj3
-HxB/cV3x5AdmvcQq84H61/RHQAMXT+45S66f4XtNbTbqALUPI5CQukV0SsnQNmEh
-sr6NeXw8a0I/yTIt291PaiPIbqyqRzXRLNkCAwEAAaN7MHkwCQYDVR0TBAIwADAs
-BglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYD
-VR0OBBYEFP0zXevlm4m1jo6K8doBSRXtnGLJMB8GA1UdIwQYMBaAFJc7kr4rmCmz
-WDlwwbNMYn2jCdiyMA0GCSqGSIb3DQEBBQUAA4GBAJL59VI1Njc7EHXDmdBCLfqI
-SneKVFF5VMP9RnpLRjou/70GwWQr70sgcgnLhbtHG/du53aLWDOjOOYiwI4pCpu7
-iaU8JmpC98i8gVZO9ZudewcaLVLDCEigKICGKCRGRUCpblQrWNe+PxfxodJU+OOj
-jdHISwlLASLBM+KbfmYo
------END CERTIFICATE-----
View
11 certs/server.csr
@@ -1,11 +0,0 @@
------BEGIN CERTIFICATE REQUEST-----
-MIIBmTCCAQICAQAwWTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUx
-ITAfBgNVBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDESMBAGA1UEAxMJMTI3
-LjAuMC4xMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQChC+rVZXBvkEJ8LWRB
-xYOeN9lv8uSU4s3X+86a/tAFP8hA+pMhn4mlNo1YsuyWppjUULmGCPcfEH9xXfHk
-B2a9xCrzgfrX9EdAAxdP7jlLrp/he01tNuoAtQ8jkJC6RXRKydA2YSGyvo15fDxr
-Qj/JMi3b3U9qI8hurKpHNdEs2QIDAQABoAAwDQYJKoZIhvcNAQEFBQADgYEAl5pa
-QF/g/azaB0CgLFQy4+Nz7Zc7lpZZxGy/FDeJKRAJwsFdLExmj6p171UOhsbVSzOR
-ipZ1eMNlo2o1GxXId+j63DgotOzNVyS45ZdhtH+DBeBsC1+XwtpnQZqT/Fqy+Ref
-zRTs+onMslkY2B98tNbWoHVOIWg9YjR/Ijy+f8k=
------END CERTIFICATE REQUEST-----
View
15 certs/server.key
@@ -1,15 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIICXgIBAAKBgQChC+rVZXBvkEJ8LWRBxYOeN9lv8uSU4s3X+86a/tAFP8hA+pMh
-n4mlNo1YsuyWppjUULmGCPcfEH9xXfHkB2a9xCrzgfrX9EdAAxdP7jlLrp/he01t
-NuoAtQ8jkJC6RXRKydA2YSGyvo15fDxrQj/JMi3b3U9qI8hurKpHNdEs2QIDAQAB
-AoGAIvLBHVoMEknOA8Cd9x/ztgwMpZyiOiUV4n8EkOInJlx3CpLWBv/mEPJLrin1
-6aNxmvGBsTKU3iroXSOz8HYit0eMyB+DJI9sl5lqrL4Llyn6Nd63jC6kTlX30SEo
-LzpUU6XzJGarIY8m0TTqGZ57WMxAtHVohCuGzNlNEffIYHkCQQDOtLLvJaOP/yZ8
-LxiLx2RQI5mrI21YKhIuEAfDZOFi+DKCejDKZW5oe29jSfjOyfccJRQQzVjXnwt9
-f8WKRENzAkEAx3O880FryVCBY3ENNwWzSLdlbMbo5foghvUwTeK5H3pLkxElfRyH
-QZRRq+C5pk/H8O06K60PUROHQUaZoZJzgwJBAKBQ+5qJObM79BBKwqHekompIszd
-3DeN4a3CFxNPkZMd5qbVuDOxuZDlcz2xqHxRngtBIq/pY+dP3iyGxaH4UcsCQQDB
-TGb0LhQjUBWF5XvUNn8R20O9z2zJ7cb2ZMxCv5eAbUqvJm/5t9tR8EfS1wG1sB5r
-Xc4BpEBy6AUuexjLoR63AkEAiosoXUZ4xJQnwxL3NalFaSHndZGqFSSFDEATDylh
-1bkE+URKEol93g5Y27BFwgLY3lXCuAfx2oiFpCqfHqbwPQ==
------END RSA PRIVATE KEY-----
View
4 config/development.coffee
@@ -4,8 +4,8 @@ module.exports =
port: 3000
ssl:
port: 4430
- key: 'certs/server.key'
- cert: 'certs/server.crt'
+ key: 'certs/dev.key'
+ cert: 'certs/dev.crt'
cookieSecret: 'xZQWzsaY8fZWFnVltP1Y'
cookieMaxAge: 1000 * 60 * 60 * 24 * 7 #1week
hashSalt: 'l7UmWFjvQIoaX6kThcng'
View
4 config/production.coffee
@@ -2,6 +2,10 @@ module.exports =
server:
host: "websocket.syaberi-house.com"
port: 3000
+ ssl:
+ port: 4430
+ key: 'certs/dev.key'
+ cert: 'certs/dev.crt'
cookieSecret: 'xZQWzsaY8fZWFnVltP1Y'
cookieMaxAge: 1000 * 60 * 60 * 24 * 7 #1week
hashSalt: 'l7UmWFjvQIoaX6kThcng'
View
4 config/test.coffee
@@ -2,6 +2,10 @@ module.exports =
server:
host: "ec2-176-34-2-152.ap-northeast-1.compute.amazonaws.com:8010"
port: 8010
+ ssl:
+ port: 4430
+ key: 'certs/dev.key'
+ cert: 'certs/dev.crt'
cookieSecret: 'xZQWzsaY8fZWFnVltP1Y'
cookieMaxAge: 1000 * 60 * 60 * 24 * 7 #1week
hashSalt: 'l7UmWFjvQIoaX6kThcng'

0 comments on commit 0f95466

Please sign in to comment.
Something went wrong with that request. Please try again.