Only enable certficates in http module if conf.tls is explicitly true

If conf.tls is set to nil then certificates are setup, including rerolling ephemeral certs even though TLS on the webserver itself remains disabled.
19 jobs for http_tls_cert in 11 minutes and 43 seconds (queued for 4 seconds)
latest
Status Job ID Name Coverage
  Build
passed #222197
amd64 linux docker
build:asan:linux:amd64

00:01:17

passed #222196
amd64 linux docker
build:linux:amd64

00:01:17

passed #222198
amd64 linux docker allowed to fail
srpm

00:00:47

 
  Test
passed #222207
amd64 linux docker
deckard:linux:amd64

00:02:08

passed #222206
docker
doc

00:00:46

failed #222204
dind
docker:build

failed #222205
amd64 linux docker
installcheck:linux:amd64

00:01:04

failed #222208
amd64 linux docker
installcheck:valgrind:linux:amd64

00:02:50

passed #222201
docker
lint:c

00:02:10

passed #222202
docker
lint:clang-scan-build

00:01:04

passed #222200
docker
lint:lua

00:00:37

passed #222199
amd64 linux docker
lint:pedantic

00:01:28

failed #222209
docker
osx:build

00:10:25

passed #222211
amd64 linux docker
pytests:lint

00:00:45

passed #222212
amd64 linux docker
pytests:run

00:02:03

passed #222213
amd64 linux docker
respdiff:iter:udp:linux:amd64

00:02:00

passed #222203
amd64 linux docker
test:linux:amd64

00:01:02

passed #222210
amd64 linux docker
test:linux:amd64:valgrind

00:01:19

 
  Extended
skipped #222214
amd64 linux docker
pytests:extended
 
Name Stage Failure
failed
docker:build Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace
failed
osx:build Test
Submodule 'contrib/libfaketime' (git://github.com/wolfcw/libfaketime.git) registered for path 'tests/deckard/contrib/libfaketime'
Submodule 'contrib/libswrap' (https://gitlab.labs.nic.cz/labs/socket_wrapper.git) registered for path 'tests/deckard/contrib/libswrap'
Cloning into '/builds/jono/knot-resolver/tests/deckard/contrib/libfaketime'...
Cloning into '/builds/jono/knot-resolver/tests/deckard/contrib/libswrap'...
Submodule path 'tests/deckard/contrib/libfaketime': checked out '9a2c84d68cca3750d28912010450844004510e81'
Submodule path 'tests/deckard/contrib/libswrap': checked out '0b7e64eaff110d33281f01e03505c7ae26c1a4e4'
$ ci/travis.py ${CI_COMMIT_REF_NAME}
Timed out!
ERROR: Job failed: exit code 1
failed
installcheck:valgrind:linux:amd64 Test
==432==    at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==432== by 0x11A15B: event_fdwatch (bindings.c:1644)
==432== by 0x614A105: ??? (in /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2.0.4)
==432== by 0x618F9DF: lua_pcall (in /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2.0.4)
==432== by 0x1133C4: engine_load_sandbox (engine.c:865)
==432== by 0x11060D: main (main.c:800)
==432==
make: Target 'installcheck' not remade because of errors.
ERROR: Job failed: exit code 1
failed
installcheck:linux:amd64 Test
       You SHOULD verify them manually against original source:
https://www.iana.org/dnssec/files
[ ta ] Current root trust anchors are:
. 0 IN DS 1 8 2 1111111111111111111111111111111111111111111111111111111111111111
. 0 IN DS 2 8 2 2222222222222222222222222222222222222222222222222222222222222222
ok 14 - TA XML with 2 valid keys
1..14
make: Target 'installcheck' not remade because of errors.
ERROR: Job failed: exit code 1