Completed

Build webservice on AWS

I need a webservice that creates a elliptical curve certification which registrates this certification in AWS, then creates in AWS IoT a "Thing" and then attach this certification in this "Thing" and finally, that returns the certification and the key.

We can create a HTTP Lambda function in AWS that executes all this:

Request Syntax:

===============================

POST /new-device HTTP/1.1

Content-type: application/json

{

"macAddress": "string"

}

===============================

-----------------------------------------------------------------------------------------------------------

1) Generates certification key:

Linux prompt:

openssl ecparam -name prime256v1 -genkey -out [login to view URL]

-----------------------------------------------------------------------------------------------------------

2) create certification through the key generated before:

Linux prompt:

openssl req -new -sha256 -key [login to view URL] -nodes -out [login to view URL]

(leave all fields requested blank: just type <enter>)

-----------------------------------------------------------------------------------------------------------

3) Create the certification in AWS:

send [login to view URL] to the API and receive the certification in PEM format:

[login to view URL]

(use API with the ativation: setAsActive)

-----------------------------------------------------------------------------------------------------------

4) Attach the certification to a AWS policy:

Request Syntax Example:

===============================

PUT /target-policies/policyName HTTP/1.1

Content-type: application/json

{

"target": "arn:aws:iot:us-east-1:754834753196:cert/d211d2ad05a65a305d5192f57187daf4d3854c662923fd5bb99b9b9d5ea04583"

}

===============================

[login to view URL]

-----------------------------------------------------------------------------------------------------------

5) Create thing/dispositive in AWS:

[login to view URL]

(create dispositive through MAC to have a unique name)

-----------------------------------------------------------------------------------------------------------

6) Attach the certification in thing/dispositive in AWS:

[login to view URL]

-----------------------------------------------------------------------------------------------------------

7) Convert the certification key to base64 (TLSKey1):

Linux prompt:

openssl ec -in [login to view URL] -inform PEM -outform DER | openssl asn1parse -inform DER | head -3 | tail -1 | awk -F':' '{ print $4 }' | xxd -r -p | base64 | echo "$(</dev/stdin)"

-----------------------------------------------------------------------------------------------------------

8) Convert certification to base64 (TLSKey2):

Linux prompt:

openssl x509 -in [login to view URL] -inform PEM -outform DER | base64 | echo "$(</dev/stdin)"

-----------------------------------------------------------------------------------------------------------

Response Syntax:

===============================

HTTP/1.1 200

Content-type: application/json

{

"certArn": "string",

"thingArn": "string",

"thingId": "string",

"thingName": "string"

"TLSKey1": "string",

"TLSKey2": "string"

}

===============================

Useful links:

[login to view URL]

[login to view URL]

[login to view URL]

Skills: Amazon Web Services, Linux, node.js

See more: jboss ant file build webservice wsdl, build webservice nusoap localhost, build webservice jboss, aws web application architecture, aws console, aws web app tutorial, amazon web services, aws lambda web application, aws application examples, aws python web app, aws serverless tutorial, build company website i, freelancer i marketing cewe print gmbh i malta, how can i find a print graphic designer is los angeles, http dyglqb hotelinkarachi com 81 qykghh a1 php i 778806168&contact aspx f nzntkm, where can i find a print salesman, build a website I will give you a model, build webservice, I have existing android app which is 80% build completed. I\ ll provide the source code for existing app need to update UI and f, Build a website i will provide requirements

About the Employer:
( 0 reviews ) Barra Velha, Brazil

Project ID: #24111475

Awarded to:

kishansunny

Looks like you need a Lambda function that - 1. Executes shell commands to generate keys and certs 2. Creates a Thing on AWS with the cert configured 3. Return the generated cert and key in the response. I would love More

$120 USD in 7 days
(1 Review)
1.5
srajbr

Hello, Thanks for the detail instructions. Do you want to use nodejs or python for the lambda function? I am comfortable with both. And by when do you need this done? Regards, Samiran

$100 USD in 5 days
(18 Reviews)
4.9

5 freelancers are bidding on average $133 for this job

sapotacorp

Ola sir, I am available here to discuss more with this project. We have finished 15 node.js projects. Example: [login to view URL], [login to view URL], gnetentertainment.com. Best regards, Michael

$126 USD in 2 days
(12 Reviews)
5.5
BryanSmits

I will fix your AWS problem I checked your project details carefully, Dear hiring manager. As a senior AWS expert, I am very interested in your task. I am good at B2B & B2C website development which I have been alrea More

$140 USD in 7 days
(0 Reviews)
0.0
murtuza90

*** I am expert in backend development & solution from the past 7+ years - #Back-end: Node.js, RoR, PHP, MySQL, MongoDB, Wordpress, Python *** I have delivered various jobs using Node.js *** I am an expert in AWS & g More

$180 USD in 10 days
(0 Reviews)
0.0