Skip to content

Instantly share code, notes, and snippets.

@jclaret
jclaret / Self-Signed SSL with SAN.md
Created March 31, 2023 12:21 — forked from KeithYeh/Self-Signed SSL with SAN.md
Create self-signed SSL certificate with SubjectAltName(SAN)

How to create a self-signed SSL Certificate with SubjectAltName(SAN)

After Chrome 58, self-signed certificate without SAN is not valid anymore.

Step 1: Generate a Private Key

openssl genrsa -des3 -out example.com.key 2048

Step 2: Generate a CSR (Certificate Signing Request)

@jclaret
jclaret / ocp4-day2-readme
Created April 20, 2023 10:43 — forked from ikurni/ocp4-day2-readme
OCP4 Day 2
Openshift Day 2 guidance :
-----------------------------------------------------------------------------------------------
Configure Openshift ingress operator to use node label “infra: true” and run router pods only in infra node
Edit openshift-ingress config :
# oc edit ingresscontrollers.operator.openshift.io/default -n openshift-ingress-operator
In the spec: section add below comment :
---
nodePlacement:
nodeSelector:
matchLabels:

Install the operator using the Manual approval strategy

cat <<EOF| oc apply -f -
apiVersion: v1
kind: Namespace
metadata:
  name: amq
---
apiVersion: operators.coreos.com/v1alpha1
@jclaret
jclaret / Gists.md
Created June 7, 2024 14:17 — forked from BoQsc/Gists.md
How to search my own Gists