Find Jobs
Hire Freelancers

Build webservice on AWS

$30-250 USD

Completed
Posted about 4 years ago

$30-250 USD

Paid on delivery
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]
Project ID: 24111475

About the project

4 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
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 to help you with this project.
$120 USD in 7 days
5.0 (1 review)
1.6
1.6
User Avatar
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
5.0 (19 reviews)
4.9
4.9
4 freelancers are bidding on average $132 USD for this job
User Avatar
*** 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 & getting certified soon with AWS - AWS Services: ELB, Elastic Cache, RDS, CloudWatch, S3, SES, Lamda functions. I would like to inform about the process we follow from idea to deployment 1- Initial level of discussion on a call to understand the business 2- We will prepare a basic level of requirement document version 1.0 3- We will iterate this document for 2 - 3 iteration from 2 - 3 meetings from you and will finalize it 4- We will create user stories with sprints/Milestone. (To follow test-driven approach) 5- Start the development 6- Test every milestone and deliver Tools we use 1- Slack 2- Jira for project management 3- Bitbucket for repository Thanks for posting the job, waiting for your reply Murtuza
$180 USD in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of BRAZIL
Barra Velha, Brazil
5.0
1
Payment method verified
Member since Sep 15, 2017

Client Verification

Other jobs from this client

Make a 3D animation video
$250-750 USD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.