Skip to main content


Showing posts with the label cacerts

Kubernetes & n8n: Setup n8n using K8S (Part 2) with TLS/https

  Kubernetes & n8n: Setup n8n using K8S (Part 2) Summary We have briefly discussed on automating various tasks using n8n and installation of n8n within Kubernetes in Part1 . In this part, we mostly concentrate on how to enable TLS (for https) and terminate before it hits n8n Pre-Reqs Setting up of n8n in Kubernetes ; Read  Part1 Knowledge of TLS, certificates Summary Steps Ensure n8n is configured properly with by http Implement Kubernetes Ingress with https There are two options from here End to end TLS by redirecting proxy to n8n  TLS termination at proxy and private network to be non-secure We follow the second option as it is easier, thus creating Ingress and pointing to n8n service Steps Steps in  lab_server Ensure Certificate is created and implemented as a secret in Kubernetes preferably in same namespace kubectl -n n8n create secret tls tls-secret --key test.key --cert test.crt Use the same tls-secret in the Ingress config apiVersion: kind: Ingress m

Keystore Errors and possible causes

You might have played with the keystore and java security objects many times.Some of these errors happen when you install it first time # Java's default cacerts password is "changeit", unless you're on a Mac, where it's "changeme". # Better to execute it as root, hence sudo su sudo su - -c /usr/java6_64/bin/keytool -import -trustcacerts -file /tmp/ServerCertficate.crt -keystore /usr/java6_64/jre/lib/security/cacerts -alias diaryfolio_Certificate #No need of any password while viewing (Just press enter) /usr/java6_64/bin/keytool -list -v -keystore /usr/java6_64/jre/lib/security/cacerts   >/tmp/ Common Errors 1.  Keytool Error with Java lang Exception  keytool error: java.lang.Exception: Input not an X.509 certificate This may be caused due to - Not specifying an alias name correctly? - Space or incorrect blanks - Check in the certificate (.crt file), if there are any headers or footers before —–BEGIN CERTIFICATE—– or a