Skip to content

Fix the self-signed TLS/SSL certificate issues #30

@jwalcorn

Description

@jwalcorn

Right now, whenever you try to load the Stock Trader UI in a browser, there's this embarrassing dialog about the TLS/SSL certificate making the site look dodgy, and the browser recommends not loading the page, and you have to click the button to let me in anyway.

image

This is due to the self-signed certificate that Stock Trader uses.
image

This wasn't an issue back when we ran on OpenShift, as it used Routes to expose a UI to a pod, and those had this cool built-in feature to generate and use Let's Encrypt issued certificates, so the browser was happy. But we lost that when we left IBM and started mostly working with AKS and EKS (and presumably GKE). The route did SSL termination, and "proxied" the call on to the pod as needed. One option for addressing this is to manually implement a similar solution.

Another might be to use https://cert-manager.io, which is a Kube-native way to deal with TLS/SSL certificates. And I believe that most of the service meshes (like Istio) have built-in support for cert-manager, so maybe embracing a service mesh (which would have lots of other benefits, of course) is the answer?

This is also a bigger issue with my (still under construction) native iOS app:
image

The SwiftUI framework both won't allow plain http, and when you use https it won't allow self-signed certificates (or otherwise problematic certificates, like ones that are expired, or say they are for a different domain, or whatever). I had to jump through some hoops (that would probably disallow my app from ever being available in the iOS App Store) to get around that.

image

Anyway, we need to figure out a solution to this certificate issue, as https is a reality, and a proper certificate is key to making that work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions