Wednesday, March 26, 2014

Setting up Tomcat with SSL and client certificate authentication

1. Correctly install all OpenSSL and APR library
2. Modify conf/server.xml

<Service name="Catalina">

.....

    <Connector protocol="org.apache.coyote.http11.Http11AprProtocol" port="8443" SSLEnabled="true" connectionTimeout="20000" SSLCertificateFile="SSL.cer" SSLCertificateKeyFile="SSL.key" SSLCACertificateFile="CA.cer" SSLCertificateChainFile="CAChain.cer" maxThreads="150" scheme="https" SSLVerifyClient="require" SSLProtocol="TLSv1" SSLCARevocationFile="crl.pem" SSLVerifyDepth="2" />


.....
</Service>


remark:
All certificate file should be in PEM format
SSK.key should have no password
crl.pem should be used to block revoked certificate


Adding SDK repo to SLES11 SP3

 zypper ar -t yum -n SLES11-SDK-SP3-Updates http://smt/repo/\$RCE/SLE11-SDK-SP3-Updates/sle-11-x86_64/ SMT-http_smt:SLES11-SDK-SP3-Updates

 zypper ar -t yum -n SLES11-SDK-SP3-Pool http://smt/repo/\$RCE/SLE11-SDK-SP3-Pool/sle-11-x86_64/ SMT-http_smt:SLES11-SDK-SP3-Pool

Friday, March 14, 2014

Thursday, March 13, 2014

Wednesday, March 12, 2014

An error occurred while consolidating disks: msg.disklib.CID_MISMATCH.

Today I meet this error when trying to consolidate snapshots.

Finally, I find that I could be easily solve by 1 step.

1. Click go to snapshot from the latest and try consolidate.
2. Repeat going to a earlier snapshot until you get consolidate snapshot success.