'Please Provide Proper DN' Whilst Exporting Certificate With ORAPKI

(Doc ID 1968027.1)

Last updated on NOVEMBER 07, 2016

Applies to:

Oracle Security Service - Version 11.1.1.7.0 to 12.1.3.0.0
Oracle HTTP Server - Version 11.1.1.1.0 to 12.1.3.0.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.

Symptoms

orapki wallet export -wallet <wallet_path> -dn '<full_dn>' -cert filename
orapki wallet export -wallet ./ -dn 'CN=host.uk.oracle.com,OU=Support,O=Oracle (UK), L=Reading,ST=Berkshire,C=GB,SERIAL_NUM=01533491,2.5.4.15=PrivateOrganization,1.3.6.1.4.1.311.60.2.1.3=GB' -cert cert.crt

This gives the errors:

/oracle/12AS/Standalone1213/Oracle_Home/oracle_common/bin/orapki: eval: line
144
: syntax error near unexpected token `('
/oracle/12AS/Standalone1213/Oracle_Home/oracle_common/bin/orapki: eval: line
144
: `echo wallet export -wallet ./ -dn
'CN=host.uk.oracle.com,
OU=Support,O=Oracle (UK),
L=Reading,
ST=Berkshire,
C=GB,
SERIAL_NUM=01533491,
2.5.4.15=PrivateOrganization,
1.3.6.1.4.1.311.60.2.1.3=GB'

Oracle PKI Tool : Version 12.1.3.0.0
Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.

Please provide proper DN.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms