Skip to content

Instantly share code, notes, and snippets.

# export a public certificate
keytool -export -alias wso2carbon -file key.crt -keystore wso2carbon.jks
or
keytool -export -keystore pathToKeystore -rfc -alias aliasNameForCertificate
#print out the certificate
openssl x509 -text -inform DER -in key.crt
or
keytool -printcert -rfc -file pathToCertificate
@madumalt
madumalt / install_netcdf4.sh
Last active April 17, 2018 08:15
Install netCDF4 in Ubuntu
#!/bin/bash
# Script to install hdf5 and netCDF4 libraries on a Linux Ubuntu system
# After: https://code.google.com/p/netcdf4-python/wiki/UbuntuInstall
# And http://unidata.github.io/netcdf4-python/
# You can check for newer version of the programs on
# ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4/
# and other sources