Skip to content

Commit

Permalink
Merge pull request #832 from AMWA-TV/testssl-sh-ip
Browse files Browse the repository at this point in the history
Pass IP address of API under test to testssl.sh
  • Loading branch information
garethsb authored Oct 5, 2023
2 parents 16157f5 + 3f10a8d commit ad0e39d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nmostesting/suites/BCP00301Test.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ def perform_test_ssl(self, test, args=None):
"--openssl-timeout",
str(CONFIG.HTTP_TIMEOUT),
"--add-ca",
CONFIG.CERT_TRUST_ROOT_CA
CONFIG.CERT_TRUST_ROOT_CA,
"--ip",
self.apis[SECURE_API_KEY]["ip"]
] + args + ["{}:{}".format(self.apis[SECURE_API_KEY]["hostname"],
self.apis[SECURE_API_KEY]["port"])]
)
Expand Down

0 comments on commit ad0e39d

Please sign in to comment.