Share a Gateway cert between gateways?

0

Is it possible to have a single, pre-defined gateway certificate to share between gateways? I understand this is not ideal from a security setup, but it would make provisioning new gateways onto IoT Wireless much easier. When creating a gateway in the web console the only option provided is to create a new gateway certificate, but I was hoping it would be possible to define using the CLI or API and pre-load it onto a gateway.

Also, a second question - are the server trust certs the same for all gateways? While also in the web console provisioning a gateway, the CUPS & LNS cert download appears to not actually create new certs, which I assume means they are common across all gateways for my CUPS & LNS endpoints?

已提問 2 年前檢視次數 329 次
2 個答案
1
已接受的答案

Hi,

Q1) you can use API https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_AssociateWirelessGatewayWithCertificate.html or CLI https://docs.aws.amazon.com/cli/latest/reference/iotwireless/associate-wireless-gateway-with-certificate.html for that purpose. As you mentioned, it's not optimal from security standpoint.

See this example for automation: https://github.com/aws-samples/aws-iot-core-lorawan/tree/main/automation

Q2) Server trust certs are for authentication cloud endpoints for LNS and CUPS. As long as gateways connect to the same endpoint, the server trust certs are the same. Practically that means that you can use the same one for the same account and region combination.

已回答 2 年前
1

As of now https://docs.aws.amazon.com/iot-wireless/2020-11-22/apireference/API_AssociateWirelessGatewayWithCertificate.html will not allow cert to be shared. This is rule is there because we consider each Gateway as an individual client to IoTWireless service.

AWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南