BoschSmartHome / bosch-shc-api-docs

Bosch Smart Home Controller Local REST API
Other
208 stars 44 forks source link

Setup | CRT Files #21

Closed Feedy4000 closed 4 years ago

Feedy4000 commented 4 years ago

Hello,

i am trying to setup the system. I do not have the certificate and key to add in postman. Where can i get this from?

tschamm commented 4 years ago

Hi,

you have to generate your own certificate/key pair. There is no description given in the readme, but you can use as an example this script.

philbuettner commented 4 years ago

Hi Feedy4000,

with openssl you can create a key-pair with the following command: openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout shc-key.pem -out shc-cert.pem

Kind regards, Phil

philbuettner commented 4 years ago

I provided the information how to generate a key pair to the documentation. If this is not working for you, please reopen this issue.