Latest posts

Browse topics

How To Fix "Server has a weak ephemeral Dillie-Heffman public key" For Jboss Server

A few days ago a customer of mine experienced an error by not being able to access his management system on intranet I built a few years ago. The error we got was following:

"Server has a weak ephemeral Dillie-Heffman public key" or ERR_SSL_WEAK_EPHEMERAL_DH_KEY

What basically means:

If you see this error, it means that a secure connection can't be established because of outdated security code on the website. Chrome protects your privacy by preventing you from connecting to these sites. You won't be able to visit this page using Chrome.

I spent some time to figure out what all is about, and since the software we were running on intranet was installed with just a few clicks (apt-get install ...) and compiled from source. And turns out it all the thing was running on Jboss server, since I'm not very proficient in Jboss or Tomcat it took me some time to find a solution.

After all I followed the advice on Google Support:

You have a few options to fix this error in Chrome:

  • Enable ECDHE and disable DHE (preferable)
  • Use a 1024-bit (or larger) Diffie-Hellman group for the DHE_RSA SSL cipher suites
  • Disable all DHE SSL cipher suites

After couple of hours of browsing for best solution among the three mentioned above I stick with the 2 option

I added following line to the connector element in server.xml. Read more SSL/TLS, ciphers, perfect forward secrecy and Tomcat

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,SSL_RSA_WITH_RC4_128_SHA

Restarted Jboss server and things went normal.

Hope this helps.

Liepāja Seaside Park and Blue Flag Beach

I'm continuing my Latvia travel guide notes I have taken (photographed) at start of the June 2015. This time I visited a lovely Liepaja Seaside Park and Blue Flag Beach. 

Map of the Liepaja seaside park

Map of the Liepaja seaside park

According to the official Latvia Travel guide - This is the Latvia's largest dendrological park, now extending for about 50 ha, was gradually developed from 1870 to the early 20th century. The park boasts more than 140 different species of trees and shrubs.

Drums in Liepaja

Drums in Liepaja

Liepaja is famous of being a Rock Capital of Latvia, and there is no surprise of seeing a huge monument of... drums.

Wooden boardwalk heading to sea in Liepaja

Wooden boardwalk heading to sea in Liepaja

Blue skies and letters of Liepaja

Blue skies and letters of Liepaja

Wall art: I love Liepaja

Wall art: I love Liepaja

About Liepaja Seaside Park and Blue Flag Beach

For the guests' comfort, public bathing facilities or a Kurhaus, and luxurious summer homes were built, tennis courts were laid out, and a fountain was installed. The baths have not survived. The Seaside Park today invites for a pleasant stroll; there is also a stadium, a tennis court, a concert garden “Pūt, vējiņi!” (named after a popular traditional song Blow Ye Wind!), summer cafés, and a mini-golf course.  At the turn of the 19th and 20th century, luxurious villas were built in the neighborhood of Dzintaru iela and Liepu iela.

Almost every house is noteworthy here. One of the most pompous Jugendstil buildings at Nr. 27 Liepu iela is currently accommodating Russia's Consulate General.

The Blue Flag Beach

In 1999 and 2000, the beach of Liepāja was granted the Blue Flag Certificate – a promotion award on a course towards obtaining the Blue Flag. Ever since the summer season of 2001, the Blue Flag has been raised at Liepāja beach. This is a proof to the compliance with 29 criteria concerning the water quality, the safety of the coast, security, the availability of services, environmental education measures and information.

Asus X552M Laptop Review

For a long time I have been making laptop reviews, since yesterday I bought a brand new ASUS X552M laptop on a local Georgian Carrefour shop I decided to describe my first impressions and a few photos of my new best buddy. This model I believe is only available in Europe, for North American customers I believe there is an ASUS D550MAV or something.

I could probably buy this one or even a better one for even a cheaper price on Amazon (and that's the thing I'm actually recommending to others) but since I just returned to Georgia I needed a quick solution, and by saying quick I mean - right now!

So I went to a local shopping place - Tbilisi Mall and bought the best I could get.

Please note this article contains links to Amazon by clicking on links on this page and by making a purchase on Amazon site, I will earn an affiliate income from that.

Asus X552M in the box

Asus X552M in the box

Pretty slim suitcase actually

Pretty slim suitcase actually

Lovely cover of ASUS X552M

Lovely cover of ASUS X552M

Although I must admit that cover gets greasy pretty fast (unless you are working in gloves)

Rear view of ASUS X552M

Rear view of ASUS X552M

Front view of ASUS X552M

Front view of ASUS X552M

Since this laptop come with FreeDOS - I opted to install a Windows 8.1. I did all the setup myself (one of the easiest installations I have ever done) and shortly my laptop looked like this:

Asus X552M laptop

Asus X552M laptop

And just shorlty I started to do another blog post using my brand new laptop

Browsing the web using ASUS X552M

Browsing the web using ASUS X552M

I got this laptop for 899 GEL ($377) and I'm very happy for the price and performance I have gotten so far.

About Asus X series

The ASUS X Series is the perfect all-round laptop for work and play. Stylish and durable design is combined with a choice of Intel® or AMD processors, while 2-second Instant on gives smartphone like accessibility and SonicMaster technology gives great sound quality.

Value-packed with all the essentials, the X Series reinvents your daily computing experience. Whether you are using it for work or for fun, this is an ideal machine for both productive computing and entertainment. It features up to an Intel® Core™ processor and graphics card, Instant on that resumes your computer from sleep mode in 2 seconds and USB 3.0 for 10 times faster data transfer speed. ASUS X Series gives you everything you need for a truly satisfying multitask computing and multimedia experience.

How To Display Username In URL For Drupal Site

I know for some experienced Drupal developers such question might sound bizarre, because  - hey..it's a piece of cake... 

I have been subscribed to the LinkedIn Drupal group and exactly such question arise here:

hey guys is there any way to display username in URL when user logged in like example www.example.com/username

was asked by one of the group members

I added my solution for this question on that post already and I decided to share it on my blog as well since other Drupal users might ask such question as well.

Solution: How to display username in URL

At first you will need to have pathauto module to be enabled on your Drupal site and all the other required modules - (Path, Token). Once you have installed a pathauto module go to the File Path section (admin/config/search/path/patterns) scroll down until User Paths and in blank field enter: [user:name] 

Drupal User Paths

Drupal User Paths

Dont forget to save your configuration and then bulk update your existing path.

Hope this explains how to add username in Drupal URL.

If you have any Drupal related question, feel free to contact me and I will try to find a solution for your question in a blog post.

New Orleans - Most Unique in United States

I'm continuing to summarize my memories from my latest trip to US back in Summer of 2013. Finally we have arrived at the city I probably like a lot - New Orleans. City of alternative cuisine, Jazz birthplace a lot of Voodoo and ... most interesting emotions from US.

Although we spent some week or even more here, we actually settled in a another much smaller and much quiet town of Gretna. We did spent our nights at Gretna while our days were spent in New Orleans.

Palm Tree in New OrleansPalm Tree in New Orleans

I know it's like comparing apples with oranges, but if I might ad my fifty cents - New Orleans reminds me a Georgian seaside resort town of Batumi.

Downtown New OrleansDowntown New Orleans

Author of this blog captured in New OrleansAuthor of this blog captured in New Orleans

Legends of New OrleansLegends of New Orleans

Cook Books: Kitchen Witch in New OrleansCook Books: Kitchen Witch in New Orleans

Downtown New OrleansDowntown New Orleans

Downtown New OrleansDowntown New Orleans

Pier in New OrleansPier in New Orleans

Pier in New OrleansPier in New Orleans

From this pier you can take a boat ride on the Missisipi river... or you can take a FREE boat ride on the same Missisipi river. I will continue about free boat ride in New Orleans in one of the next blog posts. 

About New Orleans

New Orleans is a major United States port and the largest city and metropolitan area in the state of Louisiana. The population of the city was 343,829 as of the 2010 U.S. Census. The New Orleans metropolitan area (New Orleans–Metairie–Kenner Metropolitan Statistical Area) had a population of 1,167,764 in 2010 and was the 46th largest in the United States.The New Orleans–Metairie–Bogalusa Combined Statistical Area, a larger trading area, had a 2010 population of 1,452,502.

The city is named after the Duke of Orleans, who reigned as Regent for Louis XV from 1715 to 1723, as it was established by French colonists and strongly influenced by their European culture. It is well known for its distinct French and Spanish Creole architecture, as well as its cross-cultural and multilingual heritage. New Orleans is also famous for its cuisine, music (particularly as the birthplace of jazz), and its annual celebrations and festivals, most notably Mardi Gras, dating to French colonial times. The city is often referred to as the "most unique" in the United States.