Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created June 21, 2021 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcrossley3/9145fbe1a6d2dd5c50cfc3fef78fd076 to your computer and use it in GitHub Desktop.
Save jcrossley3/9145fbe1a6d2dd5c50cfc3fef78fd076 to your computer and use it in GitHub Desktop.
writing new private key to '/etc/drogue-certs/http-endpoint.key'
-----
chmod a+r /etc/drogue-certs/http-endpoint.key /etc/drogue-certs/http-endpoint.req
cat /etc/drogue-certs/http-endpoint.req | openssl x509 -req -out "/etc/drogue-certs/http-endpoint.crt" -extensions san_ext -extfile endpoints//ca.cnf -days 3650 -CA "/etc/drogue-certs/ca-cert.pem" -CAkey "/etc/drogue-certs/ca-key.pem" -CAcreateserial
Signature ok
subject=O = Drogue IoT, OU = Cloud, CN = http endpoint
Getting CA Private Key
chmod a+r /etc/drogue-certs/http-endpoint.crt
cat /etc/drogue-certs/http-endpoint.crt /etc/drogue-certs/ca-bundle.pem > /etc/drogue-certs/http-endpoint.fullchain.crt
chmod a+r /etc/drogue-certs/http-endpoint.fullchain.crt
openssl req -nodes -newkey rsa:4096 -keyout "/etc/drogue-certs/mqtt-endpoint.key" -subj "/O=Drogue IoT/OU=Cloud/CN=mqtt endpoint" -addext "subjectAltName = IP:192.168.39.16, DNS:192.168.39.16.nip.io, DNS:192.168.39.16.nip.io, DNS:192.168.39.16.nip.io" > /etc/drogue-certs/mqtt-endpoint.req
Generating a RSA private key
..................................................................................................................................................................................................................................................................................++++
.....++++
writing new private key to '/etc/drogue-certs/mqtt-endpoint.key'
-----
chmod a+r /etc/drogue-certs/mqtt-endpoint.key /etc/drogue-certs/mqtt-endpoint.req
cat /etc/drogue-certs/mqtt-endpoint.req | openssl x509 -req -out "/etc/drogue-certs/mqtt-endpoint.crt" -extensions san_ext -extfile endpoints//ca.cnf -days 3650 -CA "/etc/drogue-certs/ca-cert.pem" -CAkey "/etc/drogue-certs/ca-key.pem" -CAcreateserial
Signature ok
subject=O = Drogue IoT, OU = Cloud, CN = mqtt endpoint
Getting CA Private Key
chmod a+r /etc/drogue-certs/mqtt-endpoint.crt
cat /etc/drogue-certs/mqtt-endpoint.crt /etc/drogue-certs/ca-bundle.pem > /etc/drogue-certs/mqtt-endpoint.fullchain.crt
chmod a+r /etc/drogue-certs/mqtt-endpoint.fullchain.crt
done!
secret/mqtt-endpoint-tls created
secret/http-endpoint-tls created
deployment.apps/console-backend env updated
ingress.networking.k8s.io/keycloak annotated
⏳ Waiting for Knative services to become ready ... error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
error: timed out waiting for the condition on services/influxdb-pusher
deployment.apps "influxdb-pusher-00001-deployment" deleted
Error: timed out while waiting for influxdb-pusher to become ready.
----------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment