Export CRT to P12
openssl pkcs12 -export -in servercret.pem -inkey server.pem -certfile servercret.pem -out testkeystore.p12
Create JKS from P12
keytool -importkeystore -srckeystore testkeystore.p12 -srcstoretype pkcs12 -destkeystore wso2carbon.jks -deststoretype JKS
Change JKS alias, by default alias is 1
keytool -changealias -keystore [path to key store] -alias [current alias]
thanks to everything.