Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit065a40f

Browse files
committed
Add README.SSL
1 parente0e7dae commit065a40f

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)

[8]ページ先頭

©2009-2025 Movatter.jp