Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a volume containing the following files:
    • certificate.jks
    • certificateAuthority.crt (Optional, if the certificates are not trusted by the JVM) 


      Code Block
      languagebash
      themeRDark
      docker volume create aspire_ssl_certs
      docker run -v aspire_ssl_certs:/ssl -u root --name temp_container busybox true
      docker cp /path/to/certificate.jks helpler:/ssl
      # (optional) 
      # docker cp /path/to/certificateAuthority.crt helpler:/ssl
      docker rm helper
  2. Mount the volume at any location in your container, for instance at /opt/aspire/ssl_certs

    Code Block
    languagebash
    themeRDark
    docker run -d -v aspire_ssl_certs:/opt/aspire/ssl_certs \ 
      -p 50505:50505
      --env ASPIRE_SSL_KEYSTORE=/opt/aspire/ssl_certs/certificate.jks \
      --env ASPIRE_SSL_KEYSTORE_PASS=[your-JKS-passphrase] \
      --env ASPIRE_SSL_CA=/opt/aspire/ssl_certs/certificateAuthority.crt \
      --env aspire_security_https_only=true \
      --env com_accenture_aspire_server_hostname=aspire_manager
      --env ASPIRE_MANAGER_NODE=true
      --name aspire_manager docker.repository.sca.accenture.com/docker/aspire:5.01.1

    Starting a worker node just requires changing the ASPIRE_MANAGER_NODE to ASPIRE_WORKER_NODE .

    See Properties for all the different environment variables that can be set on Aspire
  3. Access aspire at https://localhost:50505/

On-premise deployments

Follow the steps at: Using Aspire via HTTPS


Make sure to add the following environment variable before starting the Aspire nodes:

...