Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(884)

Issue 107190045: tls: allow dynamic certificate selections for TLS servers.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by DamZ
Modified:
11 years, 3 months ago
Reviewers:
Visibility:
Public.

Description

tls: allow dynamic certificate selections for TLS servers. This change introduces a Config.CertificateResolver callback that will be used for dynamically selecting the certificate to use for a particular server name. This accomodates for mass-TLS hosting scenarios (where it is not practical to load all the certificates upfront) and for TLS proxy interceptors (for example development debugging proxies) where the certificates have to be generated on the fly.

Patch Set 1 #

Patch Set 2 : diff -r ea9b86f1ad2d https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M src/pkg/crypto/tls/common.go View 1 2 chunks +11 lines, -0 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b