Where to apply Confluence developer license if confluence site won't start/open after an upgrade?
Asked by Site Admin:

I've just upgraded from Confluence 6.15 to Confluence 7.4 in our Dev Confluence site \& now the site won't open, I think its because I hadn't applied the new Developer license key.

Which config XML file can I apply the new Developer license instead? Thanks.


Answers:
author: Site Admin
body: **Just apply the correct license below if you can't via the Confuence site....etc:**

Shutdown Confluence

Edit the \<confluence-home\>\\confluence.cfg.xml  
o Find the License line:  
o  
o \<property name="atlassian.license.message"\>AAA......................\</property\>  
o Obtain your latest Developer license from <https://my.atlassian.com> and manually paste it into \<property name="atlassian.license.message"\>..../property in a single line  
Start Confluence

**Below is the fix for the SQL error I received:**

. Open up the Tomcat Properties Window  
o Open up the services.msc panel  
o Find the Confluence Service and right click on the Service Name and click Properties  
o Copy the Service Name to the clipboard  
o Open up a Command Prompt with Administrative rights and run this command:  
o  
o D:  
o cd "D:\\Program Files\\Atlassian\\Confluence\\Confluence\\bin"  
o tomcat9w.exe //ES//SERVICE_NAME_FROM_ABOVE  
o Once the Tomcat properties Window opens,, click on the Java tab  
o In the Java options box, find these two lines and change these two lines:  
? FROM  
?  
? -Djdk.tls.server.protocols=TLSv1.1,TLSv1.2  
? -Djdk.tls.client.protocols=TLSv1.1,TLSv1.2  
? TO  
Ensure to leave these on separate lines

-Djdk.tls.server.protocols=TLSv1,TLSv1.1,TLSv1.2  
-Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2  
o Save  
Start Confluence


author: Gonchik Tsymzhitov
body: Did you get error in the log?

comments: author: Site Admin
body: The site say's to check 2 things... SQL DB connectivivty/credentials...etc \& the below:

#### 'License Inconsistency: Confluence support and upgrades for your current license have expired. {#toc-hId--600824410}

You'll need to supply a valid license key. Confluence can't start without this.  
If you have a new license, please enter it on this [page](http://10.2.0.132/fixonly/fixlicense.action) and restart.

[Learn more'](https://confluence.atlassian.com/confkb/startup-check-confluence-licensing-issues-935907159.html?utm_source=Install&utm_medium=in-product&utm_campaign=csseng_fy18_q2_server_confluence_errorstate)


author: Site Admin
body: Check the 'atlassian-confluence.log' one SQL error appearing aswell, we're running SQL Server 11:

"The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "The server selected protocol version TLS10 is not accepted"


author: Gonchik Tsymzhitov
body: [@Site Admin](/t5/user/viewprofilepage/user-id/60689) Please, generate for now trial license

and add into

<http://10.2.0.132/fixonly/fixlicense.action>


author: Site Admin
body: fyi.. tried \& it didn't work, attached is the error. Have found a solution though.. ![Error2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/113832i2DA566D9FF830166/image-size/large?v=v2&px=999 "Error2.JPG")


Tags: server

team-calendars-for-confluence