Oracle:创建密钥库

时间:2014-05-09 19:11:49

标签: linux oracle ubuntu

我正在尝试在oracle中创建一个密钥库。阅读文档here

我验证了11.2.0.0以上的兼容字符串。现在,下一步我运行管理密钥管理命令

SQL> administer key management create keystore ´/oraclebase/app/oracle/product/12.1.0/dbhome_1/ORA_KEYSTORES´ identified by password;
administer key management create keystore ´/oraclebase/app/oracle/product/12.1.0/dbhome_1/ORA_KEYSTORES´ identified by password
                                          *
ERROR at line 1:
ORA-46604: invalid or missing keystore file name


SQL> 

我收到了上述错误。我在sqlnet.ora文件中创建了条目。文件内容如下。

# sqlnet.ora Network Configuration File: /oraclebase/app/oracle/product/12.1.0/dbhome_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

ENCRYPTION_WALLET_LOCATION=
 (SOURCE=
  (METHOD=file)
   (METHOD_DATA=
    (DIRECTORY=/oraclebase/app/oracle/product/12.1.0/dbhome_1/ORA_KEYSTORES)))

如何解决此问题。 此外,我无法在终端输入单引号。

OS: ubuntu 12.04
Oracle: 12c release enterprise edition

1 个答案:

答案 0 :(得分:0)

您似乎使用非标准引号(´)来分隔字符串,而不是直接引号('):

administer key management create keystore 
  '/oraclebase/app/oracle/product/12.1.0/dbhome_1/ORA_KEYSTORES'
  identified by password;