opentelekomcloud / gophertelekomcloud

GopherTelekomCloud is an OpenTelekomCloud clouds Go SDK
Apache License 2.0
19 stars 9 forks source link

DCS: cert download method #691

Closed artem-lifshits closed 2 months ago

artem-lifshits commented 2 months ago

What this PR does / why we need it

Method to download DCS 6.0 cert.

Acceptance tests

=== RUN   TestDcsInstanceSSLV2LifeCycle
    helpers.go:20: Attempting to create DCSv2 instance
    helpers.go:97: DCSv2 instance successfully created: f6b8b533-5a3c-493d-9a91-5a4c3f4bb8d1
    ssl_test.go:24: Attempting to enable SSL for DCSv2 instance
    ssl_test.go:32: SSL enabled
    ssl_test.go:34: Attempting to retrieve SSL settings for DCSv2 instance
    ssl_test.go:42: SSL settings retrieved
    ssl_test.go:44: Attempting to download SSL Cert
    ssl_test.go:49: Attempting to disable SSL for DCSv2 instance
    ssl_test.go:59: SSL disabled for DCSv2 instance
    helpers.go:110: Attempting to delete DCSv2 instance: f6b8b533-5a3c-493d-9a91-5a4c3f4bb8d1
    helpers.go:119: Deleted DCSv2 instance: f6b8b533-5a3c-493d-9a91-5a4c3f4bb8d1
--- PASS: TestDcsInstanceSSLV2LifeCycle (199.19s)
PASS

Debugger finished with the exit code 0