Prerequisites
- [x ] I read the Deployment and Setup section of the OpenCTI documentation as well as the Troubleshooting page and didn't find anything relevant to my problem.
- [x ] I went through old GitHub issues and couldn't find anything relevant
- [x ] I googled the issue and didn't find anything relevant
Description
Environment
- OS (where OpenCTI server runs): Ubuntu 20.04
- OpenCTI version: OpenCTI 5.3.7
- OpenCTI client: Runs on Docker-Compose
- Other environment details: currently has the misp connector up and running
Reproducible Steps
Steps to create the smallest reproducible scenario:
- I am attempting to run opencti with a digicert cert.
- I have attached the docker-compose file and env file.
- The cert files have the permissions of 400 and the container is currently being ran as root.
- When running docker-compose up -d
- It returns the following error:
Persisted queries are enabled and are using an unbounded cache. Your server is vulnerable to denial of service attacks via memory exhaustion. Set cache: "bounded" or persistedQueries: false` in your ApolloServer constructor, or see https://go.apollo.dev/s/cache-backends for other alternatives.
Error: ENOENT: no such file or directory, open '/etc/ssl/certs/opencti-certs/MyServerCert.key'
at Object.openSync (node:fs:585:3)
at readFileSync (node:fs:453:35)
at createHttpServer (/opt/opencti/build/src/http/httpServer.js:34:17)
at /opt/opencti/build/src/http/httpServer.js:102:29
at new Promise ()
at listenServer (/opt/opencti/build/src/http/httpServer.js:100:10)
at Object.start (/opt/opencti/build/src/http/httpServer.js:130:22)
at startModules (/opt/opencti/build/src/modules.js:25:22)
at boot (/opt/opencti/build/src/boot.js:16:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
- I am not sure what the error means here so any explanation would be awesome! Outside of that, do I need to have a nginx rev proxy file or can I do this with just the docker variables? If I need to do the rev proxy file can someone walk me through that?
Additional information
docker-compose.txt
env.txt
opencti-log.txt
Prerequisites
Description
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Persisted queries are enabled and are using an unbounded cache. Your server is vulnerable to denial of service attacks via memory exhaustion. Set
cache: "bounded"orpersistedQueries:false` in your ApolloServer constructor, or see https://go.apollo.dev/s/cache-backends for other alternatives.Error: ENOENT: no such file or directory, open '/etc/ssl/certs/opencti-certs/MyServerCert.key'
at Object.openSync (node:fs:585:3)
at readFileSync (node:fs:453:35)
at createHttpServer (/opt/opencti/build/src/http/httpServer.js:34:17)
at /opt/opencti/build/src/http/httpServer.js:102:29
at new Promise ()
at listenServer (/opt/opencti/build/src/http/httpServer.js:100:10)
at Object.start (/opt/opencti/build/src/http/httpServer.js:130:22)
at startModules (/opt/opencti/build/src/modules.js:25:22)
at boot (/opt/opencti/build/src/boot.js:16:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Additional information
docker-compose.txt
env.txt
opencti-log.txt