archethic-foundation / archethic-foundation/archethic-node
AEWeb ssl certificate in cache
- Dominant language
- Elixir
- Stars
- 82
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the problem you discovered
Currently when a request contains a dnslink redirection to a hosted website, the sni function to get the ssl certificate get the last chain transaction, search for the ownership, decrypt the ownership to get the private key ...
This is done for each request and could be exhaustive for the node.
### Describe the solution you'd like
We could create a cache to store `host_domain_name => ssl certificate`
### Epic
_No response_
Contributor guide
Research direction
Start by tracing the AEWeb SNI function that handles DNSLink redirects and retrieves the SSL certificate, then inspect the request path and certificate lookup flow. No file or test is named in the issue; done means repeated requests for the same host can reuse a cached host-domain-to-certificate result instead of repeating the chain and ownership lookup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- backend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100