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
    2
    1.0k
    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
        • First post
          Last post