1*649ec892SGeorge Keishing*** Settings *** 2*649ec892SGeorge KeishingDocumentation This testsuite is for testing SSL connection to OpenBMC. 3*649ec892SGeorge KeishingSuite Teardown Delete All Sessions 4*649ec892SGeorge Keishing 5*649ec892SGeorge KeishingResource ../../lib/rest_client.robot 6*649ec892SGeorge KeishingResource ../../lib/resource.robot 7*649ec892SGeorge KeishingResource ../../lib/openbmc_ffdc.robot 8*649ec892SGeorge KeishingTest Teardown FFDC On Test Case Fail 9*649ec892SGeorge Keishing 10*649ec892SGeorge Keishing*** Test Cases *** 11*649ec892SGeorge Keishing 12*649ec892SGeorge KeishingTest SSL Connection 13*649ec892SGeorge Keishing [Documentation] This testcase is for testing the SSL connection to the 14*649ec892SGeorge Keishing ... OpenBMC machine. 15*649ec892SGeorge Keishing [Tags] Test_SSL_Connection 16*649ec892SGeorge Keishing Initialize OpenBMC 17*649ec892SGeorge Keishing 18*649ec892SGeorge KeishingTest Non SSL Connection To Port 80 19*649ec892SGeorge Keishing [Documentation] Test that OpenBMC machine does not accept the non-secure 20*649ec892SGeorge Keishing ... http connection at port 80 and would expect a connection error. 21*649ec892SGeorge Keishing [Tags] Test_Non_SSL_Connection_To_Port_80 22*649ec892SGeorge Keishing 23*649ec892SGeorge Keishing Create Session openbmc http://${OPENBMC_HOST}/ timeout=3 24*649ec892SGeorge Keishing Run Keyword And Expect Error *ConnectTimeoutError* GET On Session openbmc /list 25*649ec892SGeorge Keishing 26*649ec892SGeorge KeishingTest Non SSL Connection To HTTPS Port 27*649ec892SGeorge Keishing [Documentation] Test that OpenBmc does not accept the non-secure 28*649ec892SGeorge Keishing ... http connection at port ${HTTPS_PORT} and would expect a connection error. 29*649ec892SGeorge Keishing [Tags] Test_Non_SSL_Connection_To_HTTPS_Port 30*649ec892SGeorge Keishing 31*649ec892SGeorge Keishing Create Session openbmc http://${OPENBMC_HOST}:${HTTPS_PORT}/ timeout=3 32*649ec892SGeorge Keishing Run Keyword And Expect Error ConnectionError* GET On Session openbmc /list 33