Giter Site home page Giter Site logo

amq-ssl-ocp-dzone's Introduction

Deploying the AMQ SSL on Openshift 4 Using template and exposing it to external world.

1 - Set up the keystore and trustore using the certs.sh(take a note of password you typed).

  $ ./certs.sh

2 - Create two secrets, one to store the certificate and the second to store the broker credentials.

$ oc create secret generic amq-credential-secret --from-literal username=admin --from-literal password=admin --from-literal  amq_truststore_password=<password_typed_to_create_certs> --from-literal amq_keystore_password=<password_typed_to_create_certs>

$ oc create secret generic ${BROKER_NAME}-app-secret --from-file=broker.ks --from-file=broker.ts -n ${MYPROJECT}

3 - Create the template.

$ oc create -f https://raw.githubusercontent.com/rafamqrs/amq-ssl-ocp-dzone/main/template/amq-broker-74-ssl.yaml

4 - Deploy the broker.

$ oc new-app --name amq-dev-broker-74-ssl --template=amq-broker-74-ssl \
-p AMQ_NAME=amq-dev -p APPLICATION_NAME=amq-broker \
-p AMQ_PROTOCOL="openwire,amqp,stomp,mqtt,hornetq" \ 
-p AMQ_QUEUES=<queue_name> -p AMQ_USER=admin \ 
-p AMQ_PASSWORD=dzone123 -p AMQ_SECRET=amq-dev-app-secret \  
-p AMQ_TRUSTSTORE=broker.ts -p AMQ_KEYSTORE=broker.ks \
-p AMQ_REQUIRE_LOGIN=true \ 

amq-ssl-ocp-dzone's People

Contributors

rafamqrs avatar

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.