-
Notifications
You must be signed in to change notification settings - Fork 62
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
Establish TLS connection from Golang to MQ #164
Comments
Creating keystores is fully described in the MQ documentation. See for example this page in the KnowledgeCentre |
If it's useful, there is a similar set of instructions in the nextdoor "Golang JMS" repo (programming interface that layers on top of this one) that talks about how to set up your own keystore. That is talking in the context of running one of the test case files, but the steps are equivalent for your own application; The keystore file contents are the same whether you use them from Golang via this MQI style interface or via the "JMS" style interface. |
Thanks a lot, Mark. But I am not sure how to use strmqikm (iKeyman) GUI and execute command runmqckm. The link has a lot of info and I am not sure how to start executing the steps. Please guide. |
There's also more general getting started with MQ and TLS information here: And this may be of help if you're looking for mutual TLS: |
Hello Team, I have added the certificates to the key repository. But I am now getting an MQRC 2539 error. Here's is my go code.
Am I missing any extra parameter here. Please can you advise how I can resolve this error. |
Please include the following information in your ticket.
Hello There,
I am referring to the code in the link
https://github.com/ibm-messaging/mq-golang/blob/master/samples/amqsconntls.go
I have a question here, could you please let know how to set up the certificates in the Keystore. Need detailed steps on this please.
sco.KeyRepository = "./mykey"
The text was updated successfully, but these errors were encountered: