kenpeter
kenpeter

Reputation: 8294

How to install multiple client certificates in ubuntu server?

e.g.

BASE dc=a,dc=b,dc=c,dc=d 
URI ldaps://somesite1.com
TLS_REQCERT demand
TLS_CACERT /etc/ssl/certs/1.cert


BASE ou=e,o=f
URI ldaps://somesite1.com
TLS_REQCERT demand 
TLS_CACERT /etc/ssl/certs/2.cert

Upvotes: 0

Views: 542

Answers (1)

symcbean
symcbean

Reputation: 48387

The URLs are the same for both servers?

"PHP has no method to set a client certificate" but the link provides a method for working around this using a single certificate. However this isn't going to work when trying to access both LDAP servers in the same PHP script.

The obvious way to address this would be to run stunnel on the webserver with appropriate configs for each LDAP server (see this howto and the docs on the stunnel website) listening on different ports for each LDAP server.

Upvotes: 0

Related Questions