Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Better error messages for problems with SSL

Aperta
#92 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
haskell
Ambito
backend, security

Direzione di ricerca

Start with the SSL instructions in the linked FAQ and reproduce the reported stack build and stack exec commands using the certificate and key options shown. Investigate why HTTPS on port 443 gives no indication of success and why invalid certificate paths are not reported. Done means SSL behavior is observable and certificate-path errors are clearly surfaced.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Documentation outlines http://snapframework.com/faq#how-do-i-enable-ssl that to include ssl support I need to recompile it.

I'm working withing stack, so I do

stack build --flag snap-server:openssl

Which seems like downloading openssl-streams and rebuilding server with flag, but running server with command

stack exec -- lumper -p 9000 --ssl-port=443 --ssl-cert=cert.pem --ssl-key=privkey.pem 
  1. gives no indication of working ssl (https://localhost:443 gives nothing)
  2. doesn't notify if there is wrong paths to certificates

I would like to know if I'm missing something and how can I enable truly ssl?

Lingua principale
Haskell
Stelle
197
Fork
87
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di snapframework/snap-server

Tutte le issue di snapframework/snap-server

Issue simili

Altre issue su Haskell

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.