I am using Artifactory Pro, and recently upgraded (from 6.6.5) to 6.8.6.
When the server comes up it shows messages like these:
(o.a.w.s.ArtifactoryContextConfigListener:96) - Application could not be initialized: Timed out waiting for join.key file to be made available at /var/opt/jfrog/artifactory/etc/security/join.key (o.a.w.s.ArtifactoryFilter:194) - Artifactory failed to initialize: Context is null
I've searched and found docs like: https://www.jfrog.com/confluence/display/ACC/Join.key+-+Creating+Trust+between+Services
Which say I can create my own 128 bit AES key (which I did with openssl) but then the server deletes on on bootstrap with messages like could not be read or validated. I see error messages like:
2019-03-12 22:49:15,670 [art-init] [INFO ] (o.j.a.c.AccessClientBootstrap:70) - creating access token with join key 2019-03-12 22:49:15,790 [art-init] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:96) - Application could not be initialized: Couldn't grant a token, response code: 400, body: {
"errors" : [ { "code" : "BAD_REQUEST", "message" : "Could not Verify the jwt sha: 30f20af6bed379ee249ce6d5e536596c8d087f7d08ff907b6515e289d909c2f5" } ] }
I'm curently looking at an artifactory page which says :
{ "errors" : [ { "status" : 500, "message" : "Artifactory failed to initialize: check Artifactory logs for errors." } ] }
I'm using the downloaded rpm method "rpm -U jfrog-artifactory-pro-6.8.6.rpm"
to install.
I've tried downgrading to 6.8.2, I've tried downgrading to 6.6.8 then upgrading back to 6.8.6. BTW downgrading to 6.6.8 I end up with a 404.
How can I get a join.key
file that works, or turn off the functionality that requires it ?