You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/01 21:16:00 UTC

[jira] [Work logged] (ARTEMIS-3543) Artemis client doesn't support encrypted passwords in composite urls

     [ https://issues.apache.org/jira/browse/ARTEMIS-3543?focusedWorklogId=672858&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-672858 ]

ASF GitHub Bot logged work on ARTEMIS-3543:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Nov/21 21:15
            Start Date: 01/Nov/21 21:15
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic merged pull request #3821:
URL: https://github.com/apache/activemq-artemis/pull/3821


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 672858)
    Remaining Estimate: 0h
            Time Spent: 10m

> Artemis client doesn't support encrypted passwords in composite urls
> --------------------------------------------------------------------
>
>                 Key: ARTEMIS-3543
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3543
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Domenico Francesco Bruscino
>            Assignee: Domenico Francesco Bruscino
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Artemis Client doesn't support encrypted passwords in composite urls:
> {code}
> SECURE_PASS=securepass
> ENC_SECURE_PASS=$(./bin/artemis mask securepass)
> ENC_SECURE_PASS="ENC(${ENC_SECURE_PASS:8})"
> ./bin/artemis create broker --user admin --password admin --require-login
> keytool -storetype pkcs12 -keystore ./broker/etc/server-keystore.p12 -storepass $SECURE_PASS -keypass $SECURE_PASS -alias server -genkey -keyalg "RSA" -keysize 2048 -dname "CN=ActiveMQ Artemis Server, OU=Artemis, O=ActiveMQ, L=AMQ, S=AMQ, C=AMQ" -validity 36500 -ext bc=ca:false -ext eku=sA -ext san=dns:localhost,ip:127.0.0.1
> keytool -storetype pkcs12 -keystore ./broker/etc/server-keystore.p12 -storepass $SECURE_PASS -keypass $SECURE_PASS -alias server -exportcert -rfc > server.crt
> keytool -storetype pkcs12 -keystore ./broker/etc/server-truststore.p12 -storepass $SECURE_PASS -keypass $SECURE_PASS -importcert -alias server -file server.crt -noprompt
> sed -i "s/0.0.0.0:61616?/0.0.0.0:61616?sslEnabled=true;keyStorePath=server-keystore.p12;keyStorePassword=$ENC_SECURE_PASS;/g" ./broker/etc/broker.xml
> ./broker/bin/artemis run
> ./broker/bin/artemis producer --verbose --destination queue://TEST.QUEUE --user admin --password admin --protocol core --message-count 1 --url "(tcp://localhost:61616)?sslEnabled=true&trustStorePath=./broker/etc/server-truststore.p12&trustStorePassword=$ENC_SECURE_PASS"
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)