* Use NginX njs module for mutual authentication
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add Makefile for cert management
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Move certificates make context to scripts dir
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Move nginx.conf to separate directory
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Choose between two NginX configurations
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Move certs Makefile to docker/ssl/
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Use default key-based authentication
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add mTLS docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update Makefile
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add check if Authorization is present
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add check if Will Flag is 1
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Return MQTT over WS
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix docker-compose.yml volume mapping
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Rename security section in docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add message type check before message parsing
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove double comments
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove s.AGAIN in return
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update Makefile
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove CSR and key from the root
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Drop TLS version below 1.2
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add comments for cert and key paths
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>