-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 6.0.1, 6.0.2, 6.0.3
-
Component/s: Data Center - Core
-
4
-
Severity 3 - Minor
"jwt.private.key" and "jwt.public.key" properties are not generated during Confluence DC upgrade from 5.x to 6.x.
The workaround is to create a fresh Confluence installation (either DC or demo would work) and copy appropriate properties from confluence.cfg.xml file from confluence home directory, for example:
<property name="jwt.private.key">XXXXXXX</property> <property name="jwt.public.key">YYYYYY</property>
Workaround
- Download attached jar utility Sec.jar
, run it from the command line (this can be run on any system with Java, not necessarily the server):
java -jar Sec.jar
- Copy and paste the output into confluence.cfg.xml before the </properties> tag, and restart Confluence for the changes to take effect.