02.06.2013 Views

analisi e gestione della sicurezza di una complessa applicazione ...

analisi e gestione della sicurezza di una complessa applicazione ...

analisi e gestione della sicurezza di una complessa applicazione ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Fase 2: Server_Hello<br />

CAPITOLO IV - La <strong>sicurezza</strong> nelle web applications<br />

– Il server risponde al client con un alert (per il fallimento dell’handshake) o con un<br />

Server_Hello_msg nel quale sceglie la suite <strong>di</strong> crittografia, l’algoritmo <strong>di</strong><br />

compressione e invia altri dati sulla sessione. Se il server non supporta gli<br />

algoritmi del client, invia un failure.<br />

Fase 3: Server_Certificate (opzionale)<br />

– Il server invia un messaggio <strong>di</strong> Server_Certificate per autenticarsi. Se il server<br />

non ha un certificato manda un “server_key_change msg”. Può anche richiedere<br />

al client un certificato (certificate request).<br />

Fase 4: Server_hello_done<br />

– Il server, dopo aver mandato il server_hello_msg (ed anche gli altri messaggi <strong>di</strong><br />

certificazione) rimane in attesa <strong>di</strong> <strong>una</strong> risposta del client.<br />

Fase 5: Client_key_exchange<br />

– Se il client autentica il server, manda un messaggio client_key_exchange.<br />

Fase 6: Change_cipher_spec e finished<br />

– Il client manda tale messaggio seguito da un finished.<br />

– Il server risponde con un change_cipher_spec e manda finished.<br />

Fase 7: Scambio <strong>di</strong> messaggi<br />

– client e server si scambiano i record prodotti dal Record Layer e crittografati<br />

usando le specifiche concordate nell’Hello<br />

64

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!