Closed artturimW closed 2 years ago
Hi @artturimW, it seems that docker can't find the .pem file, make sure that you bind your certificate to docker volume. Thanks for your interest in ThingsBoad IoT Gateway.
Hi @artturimW, did it help, can we close the issue?
Could not get it work, tried to conf pem files with many different ways. And checked that the .pem file actually exists in the container. Made my own image for gateway and now it is working.
Hi @artturimW, what did you change to get it to work?
Describe the bug Trying to connect to PLC with OPC-UA connector. Using docker-compose with thingsboard/tb-gateway:latest image. Trying to connect using following config:
security: Basic256Sha256 type: cert.PEM cert: aaa publickey: bbb mode: SignAndEncrypt
Same config is working when running tb_gateway without docker. I also managed to get tb_gateway working with docker when using only "anonymous" security.
Error says 'uacrypto' is not defined and then ua_client returning "error:StatusCode(BadSecurityPolicyRejected)
Docker-compose:
Connector name (If bug in the some connector): OPC-UA Connector
Error traceback (If available):
Versions (please complete the following information):