Skip to content

Commit aa0b6b9

Browse files
RubenVerborghdmitrizagidulin
authored andcommitted
Fix ACL TLS test.
1 parent e785193 commit aa0b6b9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/integration/acl-tls.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ var userCredentials = {
5353

5454
describe('ACL with WebID+TLS', function () {
5555
this.timeout(10000)
56-
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'
57-
5856
var ldpHttpsServer
5957
var ldp = ldnode.createServer({
6058
mount: '/test',
@@ -63,7 +61,8 @@ describe('ACL with WebID+TLS', function () {
6361
sslCert: path.join(__dirname, '../keys/cert.pem'),
6462
webid: true,
6563
strictOrigin: true,
66-
auth: 'tls'
64+
auth: 'tls',
65+
rejectUnauthorized: false
6766
})
6867

6968
before(function (done) {

0 commit comments

Comments
 (0)