Skip navigation
All People > Patrick-Dussault > Patrick Dussault's Blog > 2018 > January

How can I know quickly how my Windows OS is configured for localization ?


Open a DOS console, and run the following command :


c:\> dism /online /get-intl


And the output will give you details about the OS configuration :


Deployment Image Servicing and Management tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Reporting online international settings.

Default system UI language : en-US
System locale : sv-SE
Default time zone : Eastern Standard Time
Active keyboard(s) : 0409:00000409
Keyboard layered driver : PC/AT Enhanced Keyboard (101/102-Key)

Installed language(s): en-US
Type : Fully localized language.

The operation completed successfully.

Download apache-tomcat-8.5.9.tar.gz
Download jdk-7u80-linux-x64.tar.gz
Download JCE for Java 1.7 US_export_policy.jar and local_policy.jar


Install the JDK :


# mv jdk-7u80-linux-x64.tar.gz /opt/
# cd /opt
# tar xzvf jdk-7u80-linux-x64.tar.gz


Applies the JCE patches to the JDK :


# cp -p /opt/jdk1.7.0_80/jre/lib/security/US_export_policy.jar /opt/jdk1.7.0_80/jre/lib/security/US_export_policy.jar.orig
# cp -p /opt/jdk1.7.0_80/jre/lib/security/local_policy.jar /opt/jdk1.7.0_80/jre/lib/security/local_policy.jar.orig
# cp US_export_policy.jar /opt/jdk1.7.0_80/jre/lib/security/
# cp local_policy.jar /opt/jdk1.7.0_80/jre/lib/security/


Install Tomcat :


# mv apache-tomcat-8.5.9.tar.gz /opt/
# cd /opt/
# tar zxvf apache-tomcat-8.5.9.tar.gz
# export CATALINA_HOME=/opt/apache-tomcat-8.5.9
# export JAVA_HOME=/opt/jdk1.7.0_80/jre


Start Tomcat :


# cd /opt/apache-tomcat-8.5.9/bin/
# ./


Test the Tomcat's welcome page :


On your Windows PC dos console :


c:\> start /B iexplore


You should see a page with


Apache Tomcat/8.5.9
If you're seeing this, you've successfully installed Tomcat. Congratulations!

To see the attribute format from a certificate :


$ openssl x509 -in mycert.crt -subject -issuer -nameopt multiline,show_type -noout -subject_hash -issuer_hash


organizationName = UTF8STRING:My company .inc
organizationalUnitName = UTF8STRING:Support
commonName = UTF8STRING:My company .inc
description = UTF8STRING:my certificate for the service
emailAddress =


organizationName = UTF8STRING:CA Cert
organizationalUnitName = UTF8STRING:Trust Service Provider = UTF8STRING:111-US
commonName = UTF8STRING:CA Cert