mirror of https://github.com/MISP/misp-docker
Create certificates for nginx
parent
9e6844ba29
commit
65b2930943
15
README.md
15
README.md
|
@ -50,3 +50,18 @@ $ docker-compose up
|
||||||
or
|
or
|
||||||
$ docker-compose -f docker-compose-nginx.yml up
|
$ docker-compose -f docker-compose-nginx.yml up
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Optional NGINX config - SSL certificates
|
||||||
|
|
||||||
|
You can create the certificates manually if they are not automatically created.
|
||||||
|
|
||||||
|
```
|
||||||
|
openssl req -new -nodes -x509 -subj "/C=BE/ST=Brussels/L=Brussels/O=CTI/CN=localhost" -days 3650 -newkey rsa:4096 -keyout proxy/ssl/misp.key -out proxy/ssl/misp.crt
|
||||||
|
```
|
||||||
|
|
||||||
|
Then rebuild the proxy container and restart al the containers.
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose -f docker-compose-nginx.yml build --no-cache proxy
|
||||||
|
docker-compose -f docker-compose-nginx.yml up
|
||||||
|
```
|
Loading…
Reference in New Issue