Coder Social home page Coder Social logo

Comments (7)

pksrc avatar pksrc commented on May 30, 2024 3

Updating the Certificate on VEBA

 
The default certificate for OpenFaaS (/ui) or the EventBridge (/stats) and the other web endpoints running on VEBA are self signed. This might cause browsers to show the certificate as untrusted and would require you to specify the --no-tls-verify flag when working with faas-cli. We understand that this may be an inconvenience or unacceptable to some of our customers.
 
In order to update the certificates with a certificate from a trusted authority, please follow the steps outlined below
 
Assumptions

  • Access to the VEBA
  • Certificates from a trusted authority
    • The public/private key pair must exist before hand. The public key certificate must be .PEM encoded and match the given private key.

Steps

  • Run the below commands to update the certificate on VEBA
cd /folder/certs/location
CERT_NAME=eventrouter-tls 
KEY_FILE=vebaof.pem
CERT_FILE=vebaof.cer

#recreate the tls secret
kubectl --kubeconfig /root/.kube/config -n vmware delete secret ${CERT_NAME}
kubectl --kubeconfig /root/.kube/config -n vmware create secret tls ${CERT_NAME} --key ${KEY_FILE} --cert ${CERT_FILE}

#reapply the config to take the new certificate
kubectl --kubeconfig /root/.kube/config apply -f /root/ingressroute-gateway.yaml

This video shows the steps being run on a lab environment and successfully update the certs for VEBA setup with OpenFaaS - https://youtu.be/7oMCvxvL2ns

from vcenter-event-broker-appliance.

lamw avatar lamw commented on May 30, 2024

Thanks for the feedback. Regarding custom certificates, this certainly make sense, especially from a security point of view and not having to disable TLS checking when deploying functions.

Having said that, given this is currently a Fling and we have a finite amount of resources and have to prioritize where we spend our time to ensure we get feedback on the overall solution. Is not having the ability to deploy your own custom certificates a blocker from trying out VEBA or is this more of an ask for Production deployment? We can certainly investigate into #1 to see if its possible to update the certificates post-deployment (@embano1 to comment) but wanted to understand if this is completely blocking you from trying out VEBA (which we recommend doing so in a development environment)

from vcenter-event-broker-appliance.

meyeaard avatar meyeaard commented on May 30, 2024

from vcenter-event-broker-appliance.

lamw avatar lamw commented on May 30, 2024

Awesome Aaron, let us know how testing goes in your lab! I'd also like to mention we've got a temp Product Manager for VEBA, if you'd like to have a more in-depth conversation on the things you'd like to see (if) VEBA gets productized, we'd certainly welcome the feedback as well as anything else you see from the current Fling to make it more usable. Just let me know and we can connect offline

from vcenter-event-broker-appliance.

pksrc avatar pksrc commented on May 30, 2024

Aaron, I'm the PM for VEBA and I'd happy to discuss VEBA, documentation needs and functions that you are looking to take advantage of or develop yourself. Let me know and i'm happy to jump on a call.

from vcenter-event-broker-appliance.

pksrc avatar pksrc commented on May 30, 2024

This has been addressed with the documentaton on - https://vmweventbroker.io/kb/advanced-certificates. @meyeaard let us know if we are good to close this issue.

from vcenter-event-broker-appliance.

meyeaard avatar meyeaard commented on May 30, 2024

from vcenter-event-broker-appliance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.