Add timeout on SSL internal cert retrieval 80/112580/3
authormrichomme <morgan.richomme@orange.com>
Fri, 11 Sep 2020 20:58:09 +0000 (22:58 +0200)
committermrichomme <morgan.richomme@orange.com>
Mon, 14 Sep 2020 07:26:02 +0000 (09:26 +0200)
commitedbe50b80ce489b5ef9f30c9cd72f2dbcf2032d9
tree014aecf337533430f1ed4a01c243453462911f3a
parent332e011ef9b2f1bef1c60a3d83b137c8bb3df008
Add timeout on SSL internal cert retrieval

In case of SSL issues, the socket timeout is set to 600s by default
as we are scanning a liitle bit stupdidly - we try on all the internal
ports..it may take a long time if we cumulate the different timeouts.
Moreover a new error may occur socker.gaiaerror on internal scans

Issue-ID: INT-1570

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ia0e1c7bb133565d6179afa155f6c299a5e012764
Signed-off-by: mrichomme <morgan.richomme@orange.com>
test/security/check_certificates/check_certificates/check_certificates_validity.py
test/security/check_certificates/check_certificates/templates/cert-internal.html.j2 [new file with mode: 0644]