Posts

Showing posts from 2018

Java SSL/TLS Testing Tool: Cipher Suite

Image
Recently I was reading about the TLS/SSL and Ciphers. I was also interested to read about the Ciphers that are provided out of the box with JDK. This looked to me like this is something we take it for granted and do not do our due diligence when talking about the Ciphers. We often times leave those topic to our organization's network and security team. From my experience, it is a topic that all the developers leave it to the Sr. Developers and then the Sr. Developers pass it on to the Management. Guess what? It is not a sweet topic to discussion. To break this kind of symptom, I have choose to make it simple and want everyone to understand the complexity and importance of knowing this. Lets get started Before we wet our hands here is some basic information that you will require to know, Word Meaning Protocol A defined set of rules and regulations that determine how data is transmitted in telecommunications and computer networking SSL ...

PWA: Building and publishing a PWA in 15ish minutes using Angular 5 and Service Worker

Image
Introduction Here is an express start to your first PWA with service workers and a 100% score from lighthouse. I have taken it as a challenge to be able to present it to you so that you may be able to put your first pwa "hello world" app in 15ish minutes. What is PWA? Progressive web apps (PWAs) take traditional web sites/applications — with all of the advantages the web brings — and add a number of features that give them many of the user experience advantages of native apps. This set of docs tells you all you need to know. - Source: https://developer.mozilla.org/en-US/Apps/Progressive If the above definition sounds interesting, then this is to get you kickstarted with PWA using Angular 5 and inspire you to build more PWAs. End of this post you should be able to build, host and publish a PWA and get motivated to read more about it. Ever since I read about PWAs It has intrested me like crazy. Before, you get excited about PWA, please look into the supported brow...

Undocumented JAVA: Web Application: Deploy to the Cloud – Part 4

Image
Introduction Well, well, well. Part 1 , Part 2 and Part 3 are out. Now we are hosting our freshly written Java Spring Boot application on Heroku Cloud. Then Move it our our Domain and now if you have noticed when we moved the application to our domain HTTPS fell apart and we are now only running the application on HTTP only. Where did the security that heroku provided go? How can we get it back? This is all that we will be seeing in this part. Recap of what we did so far In Part 1 we deployed a newly written web application to Heroku. Here is what you see in the response. $ http -v https ://hero-boot.herokuapp.com/greeting GET /greeting HTTP/1.1 Accept: */* Accept-Encoding: gzip, deflate Connection: keep-alive Host: hero-boot.herokuapp.com User-Agent: HTTPie/0.9.2 HTTP/1.1 200 Connection: keep-alive Content-Type: application/json;charset=UTF-8 Date: Sun, 11 Mar 2018 01:28:53 GMT Server: Cowboy Transfer-Encoding: chunked Via: 1.1 vegur { "conten...

Undocumented JAVA: Web Application: Deploy to the Cloud – Part 3

Image
Introduction Hope you have gone through the Part 1 and Part 2 of this series and now want to take your DNS to the next level. This is part we will be looking at how we will be taking or how we are going to route requests to our application via cloudflare and how cloudflare can be our DNS nameserver. I also would like to tell everyone that I am not a network specialist. I have posted the facts as I have observed them as a web application developer. If there are misleading information, please feel free to comment them out or contact me . I will do me best to fix them. Why Cloudflare? I picked cloudflare as that was the cheapest option available for me. If you wish to do more research and looking for alternatives to cloudflare and feel free to checkout below links, 1. CloudFlare Alternatives and Competitors 2. 7 Top Cloudflare Alternatives For Your Website 3. alternative for cloudflare What is Cloudflare? "Company that provides a content delivery network , DDoS mi...

Undocumented JAVA: Web Application: Deploy to the Cloud – Part 2

Image
Introduction Hope you have gone through the Web Application: Deploy to the Cloud – Part 1 and all excited to make the application that we’d deployed onto the cloud be registered with a DNS you own. Before going further deep into this I would like to say is there are a ton of DNS provides available and if you don't have a provider then I would like you guys to please visit this link and get a DNS that you like. I am planning to be agnostic on the DNS provider that you wish to use in this post. Lets get started Here is a recap of what we did in Part 1 of this series. Wrote a Spring Boot App to expose a simple REST service. The source to the application can be found here . Test the application locally. Register and deploy the application on Heroku Cloud. Link to the API that we deployed. Now in this post we will be focusing on pointing you own DNS to the application deployed on the cloud. What is DNS? According to Wikipedia : The Domain Name System is a...