Переглянути джерело

document SNI

tags/v2.6.0-rc1
Shivaram Lingamneni 3 роки тому
джерело
коміт
1fc513cef0
3 змінених файлів з 19 додано та 0 видалено
  1. 2
    0
      default.yaml
  2. 15
    0
      docs/MANUAL.md
  3. 2
    0
      traditional.yaml

+ 2
- 0
default.yaml Переглянути файл

@@ -49,6 +49,8 @@ server:
49 49
 
50 50
         # The standard SSL/TLS port for IRC is 6697. This will listen on all interfaces:
51 51
         ":6697":
52
+            # this is a standard TLS configuration with a single certificate;
53
+            # see the manual for instructions on how to configure SNI
52 54
             tls:
53 55
                 cert: fullchain.pem
54 56
                 key: privkey.pem

+ 15
- 0
docs/MANUAL.md Переглянути файл

@@ -49,6 +49,7 @@ _Copyright © Daniel Oaks <daniel@danieloaks.net>, Shivaram Lingamneni <slingamn
49 49
     - [Redirect from plaintext to TLS](#how-can-i-redirect-users-from-plaintext-to-tls)
50 50
     - [Reverse proxies](#reverse-proxies)
51 51
     - [Client certificates](#client-certificates)
52
+    - [SNI](#sni)
52 53
 - [Modes](#modes)
53 54
     - [User Modes](#user-modes)
54 55
     - [Channel Modes](#channel-modes)
@@ -606,6 +607,20 @@ Oragono supports authenticating to user accounts via TLS client certificates. Th
606 607
 
607 608
 Client certificates are not supported over websockets due to a [Chrome bug](https://bugs.chromium.org/p/chromium/issues/detail?id=329884).
608 609
 
610
+## SNI
611
+
612
+Oragono supports [SNI](https://en.wikipedia.org/wiki/Server_Name_Indication); this is useful if you have multiple domain names for your server, with different certificates covering different domain names. Configure your TLS listener like this:
613
+
614
+```yaml
615
+        ":6697":
616
+            tls-certificates:
617
+                -
618
+                    cert: cert1.pem
619
+                    key:  key1.pem
620
+                -
621
+                    cert: cert2.pem
622
+                    key:  key2.pem
623
+```
609 624
 
610 625
 --------------------------------------------------------------------------------------------
611 626
 

+ 2
- 0
traditional.yaml Переглянути файл

@@ -23,6 +23,8 @@ server:
23 23
 
24 24
         # The standard SSL/TLS port for IRC is 6697. This will listen on all interfaces:
25 25
         ":6697":
26
+            # this is a standard TLS configuration with a single certificate;
27
+            # see the manual for instructions on how to configure SNI
26 28
             tls:
27 29
                 cert: fullchain.pem
28 30
                 key: privkey.pem

Завантаження…
Відмінити
Зберегти