Replace Decryption_Profile_case.robot
This commit is contained in:
@@ -1,17 +1,96 @@
|
|||||||
*** Settings ***
|
*** Settings ***
|
||||||
|
Force Tags tsg-ui settings Decryption Profile
|
||||||
Resource ../../../03-Variable/bifangapivariable.txt
|
Resource ../../../03-Variable/bifangapivariable.txt
|
||||||
Resource ../../../02-Keyword/Tsg_Ui/Setting/Settings.robot
|
Resource ../../../02-Keyword/Tsg_Ui/Setting/Settings.robot
|
||||||
Library OperatingSystem
|
Library OperatingSystem
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
Create_Decryption_Profile-001
|
Create_Decryption_Profile-001
|
||||||
${list} Create List Common Name Issuer
|
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
||||||
${list1} Create List
|
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
|
||||||
${list2} Create List
|
... Allow HTTP/2=1
|
||||||
Create-Policy_Verify lyf-test-1 list2=${list} list4=${list1} list6=${list2} min1=TLSv1.0 max1=SSLv3.0
|
Create-Policy_Verify1 lyf-test-1 ${dict}
|
||||||
|
|
||||||
Create_Decryption_Profile-002
|
Create_Decryption_Profile-002
|
||||||
${list} Create List Common Name Issuer
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0e
|
||||||
${list1} Create List EV Certificate
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
${list2} Create List Allow HTTP/2
|
... Allow HTTP/2=0
|
||||||
Create-Policy_Verify lyf-test-2 list2=${list} list4=${list1} list6=${list2} min1=TLSv1.0 max1=SSLv3.0
|
Create-Policy_Verify1 lyf-test-2 ${dict}
|
||||||
|
|
||||||
|
Create_Decryption_Profile-003
|
||||||
|
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
||||||
|
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
Create-Policy_Verify1 lyf-test-3 ${dict} fail1=Fail-close
|
||||||
|
|
||||||
|
Create_Decryption_Profile-004
|
||||||
|
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
||||||
|
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
Create-Policy_Verify1 lyf-test-3 ${dict} fail1=Pass-through
|
||||||
|
|
||||||
|
Create_Decryption_Profile-005
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
Create-Policy_Verify1 lyf-test-5 ${dict} min1=SSLv3.0 max1=SSLv3.0
|
||||||
|
|
||||||
|
Create_Decryption_Profile-006
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
Create-Policy_Verify1 lyf-test-6 ${dict} min1=TLSv1.0 max1=TLSv1.0
|
||||||
|
|
||||||
|
Create_Decryption_Profile-007
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
Create-Policy_Verify1 lyf-test-7 ${dict} min1=TLSv1.1 max1=TLSv1.1
|
||||||
|
|
||||||
|
Create_Decryption_Profile-008
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
Create-Policy_Verify1 lyf-test-8 ${dict} min1=TLSv1.2 max1=TLSv1.2
|
||||||
|
|
||||||
|
Create_Decryption_Profile-009
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
Create-Policy_Verify1 lyf-test-9 ${dict} min1=TLSv1.3 max1=TLSv1.3
|
||||||
|
|
||||||
|
Create_Decryption_Profile-010
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=0 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
Create-Policy_Verify1 lyf-test-10 ${dict}
|
||||||
|
|
||||||
|
Create_Decryption_Profile-011
|
||||||
|
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=0 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
Create-Policy_Verify1 lyf-test-11 ${dict} fail1=Fail-close
|
||||||
|
|
||||||
|
Create_Decryption_Profile-012
|
||||||
|
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=0 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
Create-Policy_Verify1 lyf-test-12 ${dict} fail1=Pass-through
|
||||||
|
|
||||||
|
Create_Decryption_Profile-013
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=1
|
||||||
|
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
Create-Policy_Verify1 lyf-test-13 ${dict}
|
||||||
|
|
||||||
|
Create_Decryption_Profile-014
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
Create-Policy_Verify1 lyf-test-14 ${dict}
|
||||||
|
|
||||||
|
Create_Decryption_Profile-015
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
Create-Policy_Verify1 lyf-test-15 ${dict}
|
||||||
|
|||||||
Reference in New Issue
Block a user