TLS client endpoint string descriptions could be more convenient to use wrt certificate chains
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 10
Description
| @exarkun reported | |
|---|---|
| Trac ID | trac#9167 |
| Type | enhancement |
| Created | 2017-06-09 17:09:29Z |
The existence or non-existence of a certificate chain is essentially an attribute of the certificate itself. Switch between two certificates and you may have to change the chain - including changing between having a chain and not having one at all.
If you switch from a certificate without a chain to one with a chain, you have to change your endpoint string description structurally from:
ssl:9999:certKey=cert.pem:privateKey=key.pem
to
ssl:9999:certKey=cert.pem:privateKey=key.pem:extraCertChain=chain.pem
And similarly for the reverse. This is inconvenient because it breaks simple string-interpolation based configuration systems.
If there were an option for "my certificate and its chain" in a single file that would address the problem.
Searchable metadata
trac-id__9167 9167
type__enhancement enhancement
reporter__exarkun exarkun
priority__normal normal
milestone__None None
branch__
branch_author__
status__new new
resolution__None None
component__core core
keywords__None None
time__1497028169634977 1497028169634977
changetime__1497028169634977 1497028169634977
version__None None
owner__None None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search Twisted's endpoint parsing and TLS setup for handling of ssl endpoint descriptions and the certKey, privateKey, and extraCertChain options. Read the existing endpoint and certificate-related tests before changing behavior. Done means a certificate and its chain can be represented together without requiring a structural endpoint-string change when switching between chained and unchained certificates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100