密钥库文件无效格式(z/OS Unix系统服务) [英] Keystore File Invalid Format (z/OS Unix System Services)
问题描述
我正在使用需要密钥库和信任库文件的z/OS Java jar.
I am using a z/OS java jar which requires a keystore and truststore file.
我已将所有文件通过FTP传输到z/OS Unix目录(大型机).
I have FTP'd all of the files to the z/OS Unix directory(Mainframe).
执行jar时,我收到一个无效的密钥库文件格式".错误.当我在本地计算机上的密钥库文件上使用keytool时,命令成功.在远程(zOS Unix)上使用keytool命令时,出现格式错误.这些文件以二进制格式传输.
When executing the jar, I receive an "invalid keystore file format" error. When I use the keytool on my local machine on the keystore file, the command is successful. When using the keytool command on the remote (zOS Unix), I am getting the format error. The files are being transmitted in binary format.
我应该以某种特殊的方式将文件传输到MF Unix吗?
Is there a particular way that I should be transmitting the file to MF Unix?
推荐答案
根据是否要转换,我使用三种主要方式将文件传输到z/OS USS(从utf-8到ibm-1047,实例).
There are three primary way I use to transfer files to z/OS USS depending on whether I want conversion or not (from utf-8 to ibm-1047 for instance).
获得转化:
-
scp
可以工作,并且在传输时将翻译文件字符.注:这是从分布式系统转移到分布式系统时通常不会看到的IBM行为.真烦人.
scp
works and will translate the files characters while transferring. Note: this is an IBM behaviour that you do not normally see when transferring from distributed system to distributed system. It's really annoying.
ftp
和ascii模式
不进行转换:
-
ftp
,传输模式设置为binary
-
sftp
ftp
with transfer mode set tobinary
sftp
根据您环境中的客户端选择最有意义的选项.
Choose the option that makes the most sense based on the client in your environment.
这篇关于密钥库文件无效格式(z/OS Unix系统服务)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!