Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| swgatling [2024/11/13 18:15] – created beckmanf | swgatling [2024/11/13 18:37] (current) – add beckmanf | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| === Gatling and variants === | === Gatling and variants === | ||
| - | The basic idea of gatling is to have statically linked executable | + | The basic idea of gatling is to have a small statically linked executable. There are some gatling variants: |
| * gatling - a http only webserver | * gatling - a http only webserver | ||
| Line 17: | Line 17: | ||
| === Required Components === | === Required Components === | ||
| - | The gatling webserver without https just needs dietlibc and libowfat. For https you need either openssl or mbedtls. While openssl is more widely used, mbedtls promises to be smaller. | + | The gatling webserver without https just needs dietlibc and libowfat. For https you need in addition |
| * [[https:// | * [[https:// | ||
| - | * [[https:// | + | * [[https:// |
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| Line 26: | Line 26: | ||
| + | === Creating a x.509 certificate for localhost === | ||
| + | [[https:// | ||
| + | |||
| + | < | ||
| + | openssl req -x509 -out localhost.crt -keyout localhost.key \ | ||
| + | -newkey rsa:2048 -nodes -sha256 \ | ||
| + | -subj '/ | ||
| + | | ||
| + | |||
| + | cp localhost.crt server.pem | ||
| + | cat localhost.key >> server.pem | ||
| + | </ | ||