File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ before_install:
24
24
25
25
install :
26
26
- docker run --hostname ldap.example.org --env LDAP_TLS_VERIFY_CLIENT=try -p 389:389 -p 636:636 -v $(pwd)/test/fixtures/seed.ldif:/container/service/slapd/assets/config/bootstrap/ldif/50-bootstrap.ldif -v $(pwd)/test/fixtures/openldap/retcode.ldif:/container/service/slapd/assets/config/bootstrap/ldif/06-retcodes.ldif --name openldap --detach osixia/openldap:1.3.0 --copy-service --loglevel debug
27
- - docker cp openldap:/container/run/service/:ssl-tools/assets/default-ca/default-ca.pem /tmp/openldap-ca.pem
27
+ - cp $(pwd)/test/fixtures/ca/docker-ca.pem /etc/ssl/certs/cacert.pem
28
+ - update-ca-certificates
28
29
- bundle install
29
30
30
31
script : bundle exec rake ci
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ def test_bind_tls_with_multiple_bogus_hosts_ca_check_only_fails
210
210
def test_bind_tls_valid_hostname_system_ca_on_travis_passes
211
211
omit_unless ENV [ 'TRAVIS' ] == 'true'
212
212
213
+ @ldap . host = INTEGRATION_HOSTNAME
213
214
@ldap . encryption (
214
215
method : :start_tls ,
215
216
tls_options : { verify_mode : OpenSSL ::SSL ::VERIFY_PEER } ,
You can’t perform that action at this time.
0 commit comments