Skip to content
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

unable to verify the first certificate #102

Open
vforv opened this issue Aug 26, 2017 · 3 comments
Open

unable to verify the first certificate #102

vforv opened this issue Aug 26, 2017 · 3 comments
Labels

Comments

@vforv
Copy link

vforv commented Aug 26, 2017

Hello,
I followed this tut: https://www.compose.com/articles/building-secure-distributed-javascript-microservices-with-rabbitmq-and-senecajs/

but get this error:

Seneca Fatal Error
==================

Message: seneca: unable to verify the first certificate

Here is my setup:


Seneca()
  .use('seneca-amqp-transport')
  .use(ping.getPing)
  .listen({
    type: 'amqp',
    pin: 'role:ping,cmd:*',
    url: 'amqps://MY_USER:MY_PASSWORD@portal569-28.vigorous-rabbitmq-54.inventous.composedb.com:22611/vigorous-rabbitmq-54'
  })
  .ready(() => {
    console.log(`Ping service ready!!!`)
  })

What can be a problem?

@nfantone
Copy link
Collaborator

nfantone commented Aug 28, 2017

Hi @vforv! Thanks for taking the time to write your question.

From what little I can gather, it seems like you are not providing SSL certificates for your AMPS connection. Have you checked out this example? Unless the cert is self signed or the CA is a well known authority, you need to provide them manually. See this discussion for further details.

@nfantone
Copy link
Collaborator

nfantone commented Sep 6, 2017

@vforv Any updates on this? Feel free to close the issue if you have no further questions.

@vforv
Copy link
Author

vforv commented Sep 7, 2017

@nfantone I didn't, I cnahge to Hemera.js framework, I have problems with seneca mesh when I deploy it to docker swarm, now everything works okay...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants