@magnusros It seems like keytool has the -jarfile option in a newer version of the binary. Try updating keytool
.
new version:
http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/keytool.html
old version:
https://docs.oracle.com/javase/6/docs/technotes/tools/solaris/keytool.html