Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
After configuring Artemis ActiveMQ Web console to use certs to authenticate users, attempting to send a message from the console results in error.
Web Console Error: "Could not send message: java.lang.IllegalStateException : AMQ229031: Unable to validate user from Management. Username: public; SSL certificate subject DN: unavailable"
Receiving exception that certs[] is null from:
throw new LoginException("Client certificates not found. Cannot authenticate.");
From what I can assess, hawt.io Authenticator passes users certs via the incoming HttpRequest. My best guess is that the sendMessageService class does not grab and pass the user's cert when attempting to doSendMessage.
this.jolokia.execute(mbean, "sendMessage(java.util.Map, int, java.lang.String, boolean, java.lang.String, java.lang.String, boolean)", headers, type, body, durable, user, pwd, createMessageId, Core.onSuccess(this.operationSuccess(), { error: this.onError }));Core.$apply(this.scope);}}};}})(Artemis || (Artemis = {}));
Please add support for cert-based message sending from the Web Console.
Attachments
Issue Links
- duplicates
-
ARTEMIS-3866 Authorize management message sending using access control context subject
- Closed
- is fixed by
-
ARTEMIS-3866 Authorize management message sending using access control context subject
- Closed