FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Issue starting up docker image with FUSIONAUTH_APP_ADDITIONAL_JAVA_ARGS

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zradick
      last edited by

      When I add the following to my docker compose file:

      - FUSIONAUTH_APP_ADDITIONAL_JAVA_ARGS="-Djavax.net.ssl.keyStore=/fusionauth/example.p12 -Djavax.net.ssl.keyStorePassword=****"
      

      I see the following when starting up:

      Error: Could not find or load main class "-Djavax.net.ssl.keyStore=.fusionauth.example.p12
      

      This same environment configuration option was working for older versions of fusion auth (1.36.7). Is this no longer a valid configuration option?

      joshuaJ 1 Reply Last reply
      Reply Quote 0
      • joshuaJ
        joshua @zradick
        last edited by

        @zradick

        Thanks for the question - if you remove the quotes from your args, that may resolve the issue.

        - FUSIONAUTH_APP_ADDITIONAL_JAVA_ARGS=-Djavax.net.ssl.keyStore=/fusionauth/example.p12 -Djavax.net.ssl.keyStorePassword=****
        

        Our documentation may need to be updated to address this

        https://fusionauth.io/docs/v1/tech/admin-guide/securing#custom-keystore

        Josh

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post