Skip to main content

Enabling TLS 1.2 in Java 7

I am working on web application that uses third party API and apparently those guys have stopped using TLS 1.0 and switched TLS 1.2

I was getting the following error


Apparently Java 1.8 have TLS 1.2 by default and for Java 1.7 you have to enable it. I have been searching online for few days to enable TLS 1.2. I have tried all the following things but it did not work


  • For each application, enter this command:
    java ... -Dhttps.protocols=TLSv1.1,TLSv1.2 ...

  • Using JAVA_OPTS, enter the following command in your .profile, shell rc (to affect all Java programs run by the user), or conductor.sh (to just affect Datameer):
    export JAVA_OPTS="${JAVA_OPTS} -Dhttps.protocols=TLSv1.1,TLSv1.2"

This is what I did and boom it worked

Comments

  1. Best new online casino new players: 1. LuckyLand Casino Bonus
    New dafabet players can claim a 1st deposit bonus worth 퍼스트카지노 up to €500 when making a deposit to get a vua nhà cái bonus. LuckyLand Casino has a huge variety of casino games

    ReplyDelete
  2. Just find a free roulette game proper right here and play – no account wanted. If you want to know extra concerning the rules to roulette take a look at|try} our information on the way to|tips on how to} play roulette. European, and even multiplayer variations, the place you can to|you possibly can} actually play alongside other players in free roulette games. Some leading 우리카지노 stay roulette builders even produce games with French and Arabic-speaking sellers. You can chat to the supplier in real time and ask for recommendation when you guess.

    ReplyDelete
  3. It’s so easy to transfer cash between accounts, or put all of it on a credit card which you won’t get an announcement for till the next month. Many players might not realize how much precise cash they are spending, since they don't seem to be|they aren't} bodily holding money of their arms like they might at a casino. The aim is that after the player has had some success with the free model, they'll feel 카지노사이트 assured enough begin out|to begin} gambling actual cash.

    ReplyDelete
  4. The fact is, they characteristic extensive variety|all kinds} of them, no matter whether you like to get a deposit match or some free spins. One means is thru its promotions web page that frequently options brand new and exclusive bonuses for gamers to get caught into. You can always discover ongoing promotions to decide in to, making the user experience all the richer for 포커 doing so. Jackpot City’s case for authenticity is further bolstered by its experience. Having been round in the on-line gambling industry in some form or form since the that} late 90s, they've built up a loyal player base that demonstrates they are a on line casino could be} trusted.

    ReplyDelete

Post a Comment

Popular posts from this blog

Adding loading spinner to JSP Page using pure CSS and JS

I wanted to add loading spinner to the web application that I was working on. This application is a legacy application and I was looking into a way to add the loading spinner whenever the user performs certain actions such as the following Clicks a button which behind the scene performs CRUD operation When user request data  As the web application was based of JSP and I was looking for a way to adding it to the webpage and finally came across the following solution  Create a div  Add the CSS for the div Create a JS function which gets called on button click.  Here is the code HTML JS      CSS

Simple IOT Project - Electric Imp Led Light Controller

Recently I went to IBM IOT Hackathon and got Electic IMP device and thought of playing with it and this is the first application I created LED Light controller using Electric IMP device and REST webservice. Overview Skill Level: Beginner Below are detailed steps on how to connect an Electric Imp with environmental sensors to the Watson IoT Platform in order to visualize and monitor your refrigerator in real time. Ingridients   Your WIFI *network name* and *password*  A computer with a web browser  Smartphone with the Electric Imp app I OS  or Android A free Electric Imp developer account    An Electric Imp Explorer kit - purchase from Amazon    Three AA batteries STEP BY STEP  Step 1 - What is demonstrated in this example? Use an Electric Imp to switch on/off light sensor and change the color of light using combination of RGB.  Step 2 - Connect your Electric Imp to the Internet  Set Up Hardware  Plug the Imp001 into the Explorer Kit Board .Power up y

Attaching remote debugger in Netbeans

I am working on a web application based on Ant,Struts and Java. I wanted a way to debug the live application in my local environment and I found out that attaching remote debugger is the best option. It helps in debugging live application. What is Remote Debugging? The client/server design of the Java  debugger  allows you to launch a Java program from computer on your network and  debug  it from the workstation running the platform. This is particularly useful when you are developing a program for a device that cannot host the development platform [source: eclipse community] How to enable it in Netbeans Open Netbeans IDE Go to Debug option  Click on Attach Debugger  Enter the host name and port number Click OK Note: Make sure you start the application first before attaching the remote debugger