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

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

                Author: ASF GitHub Bot
            Created on: 02/Nov/21 17:57
            Start Date: 02/Nov/21 17:57
    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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 673439)
    Time Spent: 20m  (was: 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: 20m
>  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)

Reply via email to