File: Readme.txt

package info (click to toggle)
pyro4 4.82-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 2,528 kB
  • sloc: python: 17,736; makefile: 169; sh: 113; javascript: 62
file content (17 lines) | stat: -rw-r--r-- 887 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SSL example showing how to configure 2-way-SSL with custom certificate validation.

What this means is that the server has a certificate, and the client as well.
The server only accepts connections from clients that provide the proper certificate
(and ofcourse, clients only connect to servers having a proper certificate).

By using Pyro's handshake mechanism you can easily add custom certificate verification steps
in both the client (proxy) and server (daemon). This is more or less required, because
you should be checking if the certificate is indeed from the party you expected...

This example uses the self-signed demo certs that come with Pyro, so in the code
you'll also see that we configure the SSL_CACERTS so that SSL will accept the self-signed
certificate as a valid cert.



If the connection is successfully established, all communication is then encrypted and secure.