GithubHelp home page GithubHelp logo

Comments (3)

gftea avatar gftea commented on May 29, 2024

The tls example use self signed Root certificate. Have you read through https://www.rabbitmq.com/ssl.html#peer-verification?
Meanwhile check the guidelines of using openssl for troubleshooting

from amqprs.

tetofonta avatar tetofonta commented on May 29, 2024

Yes i can get tls working and client certificate verification is ok, but the library still tries to authenticate the user with the username and password instead of specifiying EXTERNAL authentication and use rabbitmq_auth_mechanism_ssl.

Looking at the source code, External auth method is commented in the Authentication method struct at https://github.com/gftea/amqprs/blob/92da1bba56b9177876a6d20ecd8d74cbaa2cc9ad/amqprs/src/api/security.rs#L27C12-L27C12

from amqprs.

gftea avatar gftea commented on May 29, 2024

@tetofonta , I think it should be trival to change, add EXTERNAL variant, and have an api in SecurityCredentials to support this new auth mechanism
in get_response, just a empty string might work.
you like to create a PR to try out?

from amqprs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.