Quantcast
Channel: Magnus K Karlsson
Browsing all 526 articles
Browse latest View live
↧

Kubernetes Failure Stories

https://github.com/hjacobs/kubernetes-failure-stories

View Article


Best Cyber Security Certifications 2019

Best Cyber Security Certifications 2019https://www.hackread.com/best-cyber-security-certifications-2019/

View Article


How to enable SameSite for WildFly and JBoss EAP

BackgroundA good cookie header should look like:Set-Cookie: a=b; HttpOnly; secure; SameSite=strict(HttpOnly = No JavaScript; secure = SSL only; SameSite = no cross-origin cookie...

View Article

Image may be NSFW.
Clik here to view.

Implement Metrics with Java EE Interceptors and Exposing with MBean

BackgroundA crucial capability when deploying an application to production is to be able to monitor it and set alerts if application is running slow. This is the background for Eclipse Micropofile...

View Article

Image may be NSFW.
Clik here to view.

https://stackoverflow.com/questions/52431764/difference-between-openjdk-and-a...

https://stackoverflow.com/questions/52431764/difference-between-openjdk-and-adoptopenjdk

View Article


Image may be NSFW.
Clik here to view.

Getting Started with NetBeans and Java EE 8 and JBoss EAP 7.2

IntroductionNetBeans has very good Java EE integration both for code completion support, but also deploying, running and debugging Java EE application in a Java EE container.Currently is NetBeans...

View Article

Image may be NSFW.
Clik here to view.

Things To Do After Installing Fedora 30

Disable Natural ScrollingDisable the Alert SoundDisable the alert sound, when e.g. tabbing for auto completion in the terminal...

View Article

Installing Dogtag on Fedora 30 with SoftHSM

Official Documentationhttps://www.dogtagpki.org/wiki/PKI_Install_Guidehttps://www.dogtagpki.org/wiki/PKI_10_Installationhttps://www.dogtagpki.org/wiki/PKI_10_InstallationPrerequisiteCheck OS version.#...

View Article


Stream Movies on Fedora 30 from Netflix

To enable the Free repository, use:sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpmOptionally, enable the Nonfree repository:sudo dnf...

View Article


Install Docker Community Edition (CE) on Fedora 30

Uninstall old versions.# dnf remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux...

View Article

Getting Started with Docker

First install Docker CE, see http://magnus-k-karlsson.blogspot.com/2019/08/install-docker-community-edition-ce-on.html.To run docker containers, you can either run them in the foreground or the...

View Article

Getting Started with Creating Docker Images

To build a docker image you create a text file named Dockerfile. ExampleFROM debian:jessieRUN apt-get update && apt-get install -y gitNow lets build a docker image, with a tag (-t) mydebian and...

View Article

Getting Started wth Docker Links

In this blog we will create two docker container and link them together. We will first use mysql image and name that 'mysql', then containerize a simple java web application that links to the mysql...

View Article


Extract Windows Certificate from Windows Certificate Store

Windows certificate stored in Windows Certificate Store (certmgr.msc) are sometime called Sticky Certificate, since they are stored not safe locally and can be...

View Article

Reading NSS DB from Java with SunPKCS11

Introduction"Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can...

View Article


Reading NSS DB with SoftHSM Token with Java JSS

IntroductionIn my previous blog I showed you how to read a NSS DB with SunPKCS11.. The SunPKCS11 working for both the legacy NSS database format (cert8.db, key3.db, and secmod.db) and the new SQLite...

View Article

Reading NSS DB from Java 11 with SunPKCS11

IntroductionIn my previous blog (Reading NSS DB from Java 8 with SunPKCS11) I showed how to read a NSS DB from Java 8 with SunPKCS11. In Java 11 a lot of internal packages is no longer visible and you...

View Article


HTTP Client in Java 8 HttpURLConnection

The standard HTTP Client in Java 8 is HttpURLConnection, but working with it is not so intuitively, so I have written a small helper class, that does:All HTTP method: GET, POST, PUT, DELETE, etc.Sets...

View Article

Minimalistic POM for Java 11 and Java EE 8

One of the greatest news with Java EE 7 and 8, is that there is ONE dependency for the entire Java EE.And here is a minimalistic POM for your Java EE 8 projects with Java 11. I also added junit,...

View Article

Image may be NSFW.
Clik here to view.

Getting Started with RH SSO 7.3 (Keycloak)

IntroductionIn this blog we are going to install and configure RH SSO 7.3 (upstream Keycloak) from scratch and then develop a simple Java Web application, protected with RH SSO (Keycloak).We are going...

View Article
Browsing all 526 articles
Browse latest View live