29 lines
687 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Terminal web server
Сервис, запускаемый на терминале как веб-морда.
# Зависимости
По идее только libboost
```shell
sudo apt-get install libboost-all-dev
```
Для библиотеки api нужно еще такое:
```shell
sudo apt install cereal libcereal-dev
```
# SSL
В коде установлена версия `TSL 1.2`.
Генерировать сертификаты в тестовых целях можно так:
```shell
openssl dhparam -out dh.pem 2048
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 3600 -out cert.pem -subj "/C=ru/ST=ru/L=Moscow/O=NTC RSS/CN=terminal"
```