projects
/
mirror
/
userdir-ldap-cgi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
805746a
)
Use the correct cert when connecting to the LDAP server
author
Paul Wise
<pabs@debian.org>
Thu, 6 Nov 2014 10:50:27 +0000
(18:50 +0800)
committer
Paul Wise
<pabs@debian.org>
Thu, 6 Nov 2014 10:50:27 +0000
(18:50 +0800)
Util.pm
patch
|
blob
|
history
diff --git
a/Util.pm
b/Util.pm
index
27060d7
..
92ea455
100644
(file)
--- a/
Util.pm
+++ b/
Util.pm
@@
-359,7
+359,9
@@
sub UpgradeConnection($) {
my ($ldap) = @_;
my $mesg = $ldap->start_tls(
verify => 'require',
my ($ldap) = @_;
my $mesg = $ldap->start_tls(
verify => 'require',
- cafile => '/etc/ssl/certs/spi-cacert-2008.pem'
+ # Cannot specify the server cert, must specify the CA cert
+ #cafile => '/etc/ssl/servicecerts/db.debian.org.crt'
+ cafile => '/etc/ssl/certs/UTN_USERFirst_Hardware_Root_CA.pem'
);
$mesg->sync;
if ($mesg->code != LDAP_SUCCESS) {
);
$mesg->sync;
if ($mesg->code != LDAP_SUCCESS) {