codygreen / lab-framework-demo

1 stars 5 forks source link

TLS APICheck is not working #176

Closed aknot242 closed 2 months ago

aknot242 commented 2 months ago

A component with the following definition is PASSing the API Check when tlsComponent = true.

    <APICheck
        componentName="nginx-plus-1"
        targetStatusCode={200}
        tlsComponent={true}
    />

The log output clearly shows it is trying to connect http, not https:

Calling API Check at: http://robust-moth-nginxplus1/
aknot242 commented 2 months ago

It looks like the tlsComponent property isn't being based down through the API base component: https://github.com/codygreen/lab-framework-demo/blob/820321740348e0589416304ec94d1b3b448f453b/src/lib/api-base.js#L22