The CreatorCon Call for Content is officially open! Get started here.

How do I configure mutual authentication for outbound rest with Amazon AWS

RayRoulstone
Tera Expert

Hello,

I have been tasked by our organisation to set up an outbound message from the platform to AWS IOT using mutual authentication.

I have a curl command that works OK in Postman but I'm not sure how I can configure this in ServiceNow.

I also have three certificates for this. 

xxxxCA-1.pem
yyyy-certificate.pem.crt
zzzz-private.pem.key


I have looked at the two KB articles below and I'm not sure what I need to do. I have imported the xxxxCA-1.pem certificate as a trusted store cert, I'm not sure if this is the right thing to do. Looking at the documentation I am not sure how to use the commands suggest to create a key store, which I'm assuming should contain the other certificates, this syntax is confusing.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0691876
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0696776



The CURL command I have is
curl --tlsv1.2 \
--cacert xxxxCA-1.pem \
--cert yyyy-certificate.pem.crt \
--key zzzz-private.pem.key \
--request POST \
--data "{ \"message\": \"Hello, world\" }" \
"https://qqqqq.amazonaws.com:8443/topics/testtopic?qos=1"

I'm hoping somebody from the community can help me out here and guide me in the right direction.

Many Thanks

Ray

1 ACCEPTED SOLUTION

ServiceNow Tec2
Mega Sage
This has been resolved by ServiceNow Technical Support. Please refer to KB0696002 for more information.

View solution in original post

1 REPLY 1

ServiceNow Tec2
Mega Sage
This has been resolved by ServiceNow Technical Support. Please refer to KB0696002 for more information.