The C-View issuer is an external certificate issuer for the cert-manager engine
The cview-issuer works through the C-VIEW certificate management platform to sign certificate requests in the organization ADCS.
1. Prerequisites
2. Cert-manager installation using helm chart
3. C-View issuer installation helm cart
4. C-View issuer installation platform
5. C-View issuer configuration
The following components are required before installing the C-View Issuer
This is the preferred way to install cert-manager via helm-chart
helm repo add jetstack https://charts.jetstack.io --force-update
helm upgrade --install \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.15.4 \
--set installCRDs=true \
--set enableCertificateOwnerRef=true
kubectl apply -f "https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/standard-install.yaml"
helm upgrade --install \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.15.4 \
--set config.enableGatewayAPI=true \
--set config.apiVersion="controller.config.cert-manager.io/v1alpha1" \
--set config.kind="ControllerConfiguration" \
--set installCRDs=true \
--set enableCertificateOwnerRef=true
Check cert-manager installation
kubectl get pod -n cert-manager
NAME READY STATUS RESTARTS AGE cert-manager-cainjector-598d9958f6-fss8l 1/1 Running 0 1m cert-manager-webhook-7c8c5df7fc-xdjl5 1/1 Running 0 1m cert-manager-54f9895b8c-w2s2x 1/1 Running 0 1m
Using route objects on open shift requires installing the additional package to extend cert-manager behavior.
helm install openshift-routes -n cert-manager oci://ghcr.io/cert-manager/charts/openshift-routes
helm repo add secure-ly https://secure-ly.github.io/cview-issuer-chart/ --force-update
helm repo update secure-ly
NAME CHART VERSION APP VERSION DESCRIPTION secure-ly/cview-issuer 0.0.37 0.0.37 C-View issuer plugin for cert-manager
helm search repo cview-issuer
NAME CHART VERSION APP VERSION DESCRIPTION secure-ly/cview-issuer 0.0.37 0.0.37 C-View issuer plugin for cert-manager
helm search repo cview-issuer --versions
NAME CHART VERSION APP VERSION DESCRIPTION secure-ly/cview-issuer 0.0.35 0.0.35 C-View issuer plugin for cert-manager secure-ly/cview-issuer 0.0.36 0.0.35 C-View issuer plugin for cert-manager secure-ly/cview-issuer 0.0.37 0.0.37 C-View issuer plugin for cert-manager
helm upgrade --install \
cview-issuer secure-ly/cview-issuer \
--namespace cview-issuer \
--create-namespace \
--version 0.0.37 \
--set controllerManager.manager.image.tag=0.0.37 \
--set crd.install=true
helm upgrade --install \
cview-issuer secure-ly/cview-issuer \
--namespace cview-issuer \
--create-namespace \
--version 0.0.37 \
--set controllerManager.manager.image.tag=0.0.37 \
--set crd.install=true \
--set openshift.enabled=true \
--set openshift.anyuid=true
helm upgrade --install \
cview-issuer secure-ly/cview-issuer \
--namespace cview-issuer \
--create-namespace \
--version 0.0.37 \
--set controllerManager.manager.image.repository=devsecurely/cview-issuer \
--set controllerManager.manager.image.tag=0.0.37 \
--set controllerManager.arguments.cluster-resource-namespace=cview-issuer \
--set openshift.enabled=true \
--set openshift.anyuid=true \
--set crd.install=true
NOTE:
helm list -n cview-issuer
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION cview-issuer cview-issuer 1 2024-07-02 17:31:20.172857068 +0200 CEST deployed cview-issuer-0.0.37 0.0.37
The C-View issuer supports both basic and token-based authentication to operate toward the cView Platform
Starting C-View issuer version 0.0.37 basic authentication will be supported anymore.
C-View issuer requires a license key from the C-View platform
Contact the C-View administrator to get the license key and encode it to the base64 string.
The configuration of the C-View issuer object allows the set of all relevant parameters for working with the C-View platform.
There are two types of c-view issuers, and you can create multiple issuers for different purposes.
Working in a global scope requires a c-view cluster issuer object. Sample YAML file: (cview-cluster-issuer)
Working in a dedicated namespace requires a c-view issuer object. Sample YAML file: (cview-issuer)
The default ConfigMAp name is cview-issuer-configmap-override. It is created automatically, and all values are hard-coded for flexible control over issuer actions you may deploy the following config map YAML file: (ConfigMap)
C-View Issuer supports the following certificate types:
Use this YAML example to create a certificate object: (Cert-example)
Use this YAML example to create a certificate for an open shift route: (OpenShift-rout-example)
Unused annotations should be excluded or commented from the yaml file
Use this YAML example to create a certificate for ingress: (Ingress-example)
Unused annotations should be excluded or commented from the yaml file
Use this YAML example to create a certificate for cert manager get way API : (getway-api-example)
Unused annotations should be excluded or commented from the yaml file