• Home
  • Cisco
  • Exchange
  • Linux
  • Navision
  • Network
  • Virtualization
  • Windows
  • About
  •  

    Tomcat – Configure Trusted SSL Certificate – Windows

    April 19th, 2012

    Create new keystore with a 2048 bit certificate:
    c:\PROGRA~1\AHSAYO~1\conf>c:\progra~1\ahsayo~1\java\bin\keytool -genkey -keysize
    2048 -alias tomcat -keyalg RSA -keystore keystore.2012

    Make a request:
    c:\PROGRA~1\AHSAYO~1\conf>c:\progra~1\ahsayo~1\java\bin\keytool -certreq -keyalg
    RSA -alias tomcat -file MyDom.csr -keystore keystore.2012

    Import root cert:
    c:\PROGRA~1\AHSAYO~1\conf>c:\progra~1\ahsayo~1\java\bin\keytool -import -alias r
    oot -keystore keystore.2012 -trustcacerts -file root.crt

    Import intermediate cert:
    c:\PROGRA~1\AHSAYO~1\conf>c:\progra~1\ahsayo~1\java\bin\keytool -import -alias i
    ntermed -keystore keystore.2012 -trustcacerts -file intermediate.crt

    Import the trusted SSL cert:
    c:\PROGRA~1\AHSAYO~1\conf>c:\progra~1\ahsayo~1\java\bin\keytool -import -alias t
    omcat -keystore keystore.2012 -trustcacerts -file MyDom.crt

    More info


    Error in Office: The file is corrupt and it cannot be open – security setting

    April 12th, 2012

    If you get this error trying to open a Office document: “The file is corrupt and it cannot be open” it might be a security setting.

    If the file is from the Internet / Outlook, it is blocked by default.

    You can unblock in the file properties or make a GP
    Goto: User Configuration > Administrative Templates > Windows Components > Attachment Manager Enable: Do not preserve zone information in file attachments