Skip to content

Compiling

JonSnowWhite edited this page Apr 27, 2021 · 4 revisions

The best way to use TLS-Attacker is to download (or clone) the project source files and compile it with these commands:

$ cd TLS-Attacker
$ mvn clean package

If you want to use TLS-Attacker as a library in other projects you can install TLS-Attacker yourself:

$ cd TLS-Attacker
$ mvn clean install

or include it as a maven dependency in your pom.xml:

<dependency>
    <groupId>de.rub.nds.tlsattacker</groupId>
    <artifactId>TLS-Attacker</artifactId>
    <version>3.6.0</version>
    <type>pom</type>
</dependency>

Note that this process may take some time since TLS-Attacker will execute its integration tests. You can skip these tests by executing:

$ cd TLS-Attacker
$ mvn clean install -DskipITs

The resources folder contains a script to generate keys and certificates for TLS-Attacker to allow deeper investigations. You can generate a set of your own keys with the provided script (Linux only):

$ cd resources
$ ./keygen.sh
Clone this wiki locally