summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian1999-09-27 03:16:09 +0000
committerBruce Momjian1999-09-27 03:16:09 +0000
commit8f3f736ccf82ddd216eb3e8ef0a980fa6dda3c5c (patch)
treec58e532c00bdb9ba96fa2056155a8be177d4c42e
parent67ddbb91ca47d0b07e147ba0fd56acfed6914a02 (diff)
Add README.SSL
-rw-r--r--src/backend/libpq/README.SSL53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/backend/libpq/README.SSL b/src/backend/libpq/README.SSL
new file mode 100644
index 0000000000..77d72ee258
--- /dev/null
+++ b/src/backend/libpq/README.SSL
@@ -0,0 +1,53 @@
+>From the servers perspective:
+
+
+ Receives StartupPacket
+ |
+ |
+ (Is SSL_NEGOTIATE_CODE?) ----------- Normal startup
+ | No
+ |
+ | Yes
+ |
+ |
+ (Server compiled with USE_SSL?) ------- Send 'N'
+ | No |
+ | |
+ | Yes Normal startup
+ |
+ |
+ Send 'S'
+ |
+ |
+ Establish SSL
+ |
+ |
+ Normal startup
+
+
+
+
+
+>From the clients perspective (v6.6 client _with_ SSL):
+
+
+ Connect
+ |
+ |
+ Send packet with SSL_NEGOTIATE_CODE
+ |
+ |
+ Receive single char ------- 'S' -------- Establish SSL
+ | |
+ | '<else>' |
+ | Normal startup
+ |
+ |
+ Is it 'E' for error ------------------- Retry connection
+ | Yes without SSL
+ | No
+ |
+ Is it 'N' for normal ------------------- Normal startup
+ | Yes
+ |
+ Fail with unknown