docker-self-service-password
docker-self-service-password copied to clipboard
LDAPS
How can this be used with LDAPS i can't see a way of adding the CA
same issue here ! +1
I created a workaround for me in Kubernetes. Maybe it helps:
configmap.yaml
---
apiVersion: v1
kind: ConfigMap
metadata:
name: self-service-password-ldap
namespace: default
data:
ldap.conf: |
TLS_REQCERT allow
deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: sspw-wads-self-service-password
namespace: "default"
spec:
replicas: 1
template:
metadata:
labels:
app.kubernetes.io/name: self-service-password
app.kubernetes.io/instance: sspw
spec:
volumes:
- name: ldap-conf
configMap:
name: sspw-wads-self-service-password-ldap
containers:
- name: self-service-password
volumeMounts:
- mountPath: /etc/openldap
name: ldap-conf
image: "tiredofit/self-service-password:5.0.2"
[ ... ]
Another option is to import required files into the container
FROM tiredofit/self-service-password:5.0.3
COPY tls/ca.pem /etc/ssl/certs/ca.pem
COPY ldap.conf /etc/openldap/ldap.conf
TLS_CACERT /etc/ssl/certs/ca.pem
TLS_REQCERT try
I created a workaround for me in Kubernetes. Maybe it helps:
configmap.yaml
--- apiVersion: v1 kind: ConfigMap metadata: name: self-service-password-ldap namespace: default data: ldap.conf: | TLS_REQCERT allow
deployment.yaml
apiVersion: apps/v1 kind: Deployment metadata: name: sspw-wads-self-service-password namespace: "default" spec: replicas: 1 template: metadata: labels: app.kubernetes.io/name: self-service-password app.kubernetes.io/instance: sspw spec: volumes: - name: ldap-conf configMap: name: sspw-wads-self-service-password-ldap containers: - name: self-service-password volumeMounts: - mountPath: /etc/openldap name: ldap-conf image: "tiredofit/self-service-password:5.0.2" [ ... ]
Has this worked for anyone? I have set the configmap and it works on container start. Still getting SSL errors on Debug.