Closed anonyjocke closed 4 years ago
Seem like the script could not download gnutls from www.gnupg.org:
error msg:
Failed to connect to www.gnupg.org port 443: Connection timed out
Make sure https://www.gnupg.org is reachable from your host.
hi @prbinu i tried on 2 vps from Digital Ocean and it gives the same error
Failed to connect to www.gnupg.org port 443: Connection timed out
i don't know what's the problem so i tried to install it on my local machine
but it gives an error when it runs make && make install
on ./build-x86-64.sh
checking host system type... x86_64-pc-linux-gnu
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
gcc -DPACKAGE_NAME=\"tls-scan\" -DPACKAGE_TARNAME=\"tls-scan\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"tls-scan\ 1.4.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tls-scan\" -DVERSION=\"1.4.1\" -I. -I./include -I build-root/include -I build-root/include -Wall -Wundef -Wshadow -Wunreachable-code -Wswitch-default -Wcast-align -pedantic -g -std=c99 -D_GNU_SOURCE -DTS_VERSION=\"1.4.3\" -DTS_BUILD_DATE=\"2020-08-01\" -DTS_OS=\"Linux\" -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
In file included from ./include/proto-adapters.h:8,
from main.c:29:
./include/common.h:18:10: fatal error: gnutls/gnutls.h: No such file or directory
18 | #include <gnutls/gnutls.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:439: main.o] Error 1
gcc -DPACKAGE_NAME=\"tls-scan\" -DPACKAGE_TARNAME=\"tls-scan\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"tls-scan\ 1.4.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tls-scan\" -DVERSION=\"1.4.1\" -I. -I./include -I build-root/include -I build-root/include -Wall -Wundef -Wshadow -Wunreachable-code -Wswitch-default -Wcast-align -pedantic -g -std=c99 -D_GNU_SOURCE -DTS_VERSION=\"1.4.3\" -DTS_BUILD_DATE=\"2020-08-01\" -DTS_OS=\"Linux\" -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
In file included from ./include/proto-adapters.h:8,
from main.c:29:
./include/common.h:18:10: fatal error: gnutls/gnutls.h: No such file or directory
18 | #include <gnutls/gnutls.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:439: main.o] Error 1
>>> Complete
root@yousif:~/tls-scan#
I have tested on a Ubuntu 18.04 machine, and it is working for me.
Here is what I did:
sudo apt-get update
sudo apt-get install autoconf automake libtool pkg-config gcc unzip -y
git clone https://github.com/prbinu/tls-scan.git
cd tls-scan/
./build-x86-64.sh
## <<build will take approx 15 mins>>
cd build-root/bin/
./tls-scan -c example.com --cacert=../etc/tls-scan/ca-bundle.crt --pretty
It worked :) , thanks @prbinu for this awesome tool <3 Have a nice day
Hi @prbinu :) i have followed all those steps to install tls-scan installed gcc , autoconf , automake , libtool , pkg-config , git clone https://github.com/prbinu/tls-scan.git , cd tls-scan and ./build-x86-64.sh but ended up with
./tls-scan command not found
how can i fix that ? i am running Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-66-generic x86_64) VPS from DigitalOcean