-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certificates support added (only LoRaServer.io) #18
base: master
Are you sure you want to change the base?
Certificates support added (only LoRaServer.io) #18
Conversation
My proposal is to follow this example:
This type of configuration allows us to play with the MQTT's configurations. We would have to describe the MQTT broker for each type, but this is a simple solution. An other hand, I tried to write simple tests to check my implementation, but because of my experience like Javascript developer is limited (I'm mainly Python Developer) I don't know very well how to do it and I'm still looking for a correctly way to implement it following the tests already done by you. I'm sorry for the possible inconveniences. |
Hello! I have been looking at my previous proposal and I have decided to change the way in which certificates are indicated. In this case we will have to indicate the certificates as a list of ASCII numbers.
This way , for example, we could send the certificates in a Device Provisioning by means of a POST request from Postman. In addition, in the static provisioning we can continue indicating the certificates as indicated above (as a file). Bests regards |
Hi @garvi-x, First of all, sorry for the delay to review this PR. In principle, I am OK with your proposal, but I don't like too much the last change to What do you think? |
Hi @dcalvoalonso, My proposal is that we can have both options, certificates in a volume and as a list of ASCII numbers. The first option is for static provisioning, while the second option is for device and service provisioning. Since certificates in a volume are not available from outside using, for example, Postman. |
Hi I am fairly new to this and wanted to use the LoRaWan-IoT-Agent with an existing LoRaServer.io I can get my hands on. Did you manage to provision a device with your method? The mqtt-server uses a root signed CA and mqtts. Also the mqtt-broker needs user credentials to log on and the port needs to be 8883. Is there any headway with this? |
Hi @StWiemann, The method that I used for device provisioning was the same that it is explain in the documentation of this project in this link: https://fiware-lorawan.readthedocs.io/en/latest/users_manual/index.html On the other hand, I am not a expert in this materia, only I have read the documentation of LoRaWAN IoTAgent and LoRaServer.io for deployment my scenary. I hope I helped you. |
Thanks @garvi-x,
That works for me as a starting point. LoRaWAN might come later. |
@garvi-x Maybe Base64 would be the better option. |
can you rebase your changes to the current up-to-date code base? thx |
1 similar comment
can you rebase your changes to the current up-to-date code base? thx |
Tell me any question or change that you consider appropriate.
I have also added the standart gitignore file for javascript projects.