Skip to content

Commit 065a40f

Browse files
committed
Add README.SSL
1 parent e0e7dae commit 065a40f

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

src/backend/libpq/README.SSL

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
>From the servers perspective:
2+
3+
4+
Receives StartupPacket
5+
|
6+
|
7+
(Is SSL_NEGOTIATE_CODE?) ----------- Normal startup
8+
| No
9+
|
10+
| Yes
11+
|
12+
|
13+
(Server compiled with USE_SSL?) ------- Send 'N'
14+
| No |
15+
| |
16+
| Yes Normal startup
17+
|
18+
|
19+
Send 'S'
20+
|
21+
|
22+
Establish SSL
23+
|
24+
|
25+
Normal startup
26+
27+
28+
29+
30+
31+
>From the clients perspective (v6.6 client _with_ SSL):
32+
33+
34+
Connect
35+
|
36+
|
37+
Send packet with SSL_NEGOTIATE_CODE
38+
|
39+
|
40+
Receive single char ------- 'S' -------- Establish SSL
41+
| |
42+
| '<else>' |
43+
| Normal startup
44+
|
45+
|
46+
Is it 'E' for error ------------------- Retry connection
47+
| Yes without SSL
48+
| No
49+
|
50+
Is it 'N' for normal ------------------- Normal startup
51+
| Yes
52+
|
53+
Fail with unknown

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy