AIP-51083:  General failure creating S/MIME digital signature: java.lang.Nu

Hi All,
While sending an 850 document to supplier, I am getting below error, Could any one give some idea how to resolve this.
Regards
Machine Info: (usmtnz-dinfwi12.dev.emrsn.org)
Description: General failure creating S/MIME digital signature
StackTrace:
Error -: AIP-51083: General failure creating S/MIME digital signature: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
     at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:468)
     at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1807)
     at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:296)
     at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:121)
     at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1685)
     at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
     at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
     at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
     at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
     at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
Caused by: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
     at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)
     at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:426)
     ... 9 more
Caused by: java.lang.NullPointerException
     at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
     ... 10 more

Please refer to below forum Thread :
AS2 error: IP-51083:  General failure creating S/MIME digital signature
AS2 error: IP-51083:  General failure creating S/MIME digital signature
If issue still exist, Please post the detail log in debug mode for further analysis.
Rgds,
Nitesh Jain

Similar Messages

  • AIP-51083:  General failure creating S/MIME digital signature: Error

    I know you guys did answer to this kind of question in several threads. But my case is bit different. Please try to help me to resolve this issue.
    OS: AIX 5.3
    B2B: 10.1.2.2 (No Additions)
    I did encrypt the message using certificates (Host & Trading Partner) and send to Trading Partner and got the confirmation. So assuming there is no issue with wallet and certificates.
    But I am not able to sing the same message using same certificates.
    (I don’t have any issue with Host certificate, I can use it for host sing but I have issue with Trading Partner certificate)
    Here the error message. I really appreciate your help.
    <MSG_TEXT>Error -: AIP-51083: General failure creating S/MIME digital signature: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:434)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1165)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:701)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:832)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java(Compiled Code))
    at java.lang.Thread.run(Thread.java:568)
    Caused by: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1054)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:392)
    ... 9 more
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:965)
    ... 10 more
    </MSG_TEXT>
    Thanks in Advance,
    Rama K

    Hi Anuj,
    Thanks for your good reply.
    I was doing same thing which you mentioned (Thats the reason encryption is working with same certificates, so there is no issue with wallet and certificates).
    in my log (debug mode) I did find some thing is interesting
    From the log,
    <MSG_TEXT>oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /oraaiad/B2BHome/Apache/Apache/conf/ssl.wlt/default/wallet1</MSG_TEXT>
    Log is looking for alternateWrl "/*default/wallet1*"
    But my wallet location which I mentioned in tip.props /oraaiad/B2BHome/Apache/Apache/conf/ssl.wlt/*default/wallet.txt*
    I know there is no location called "*wallet1*" thats the reason why it's throwing null pointer. But my questions is, why it's looking for alternateWrl? Here some of debug log.
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.336+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="UNKNOWN"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Utility:getPrivateKey:Exit</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.336+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="UNKNOWN"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /oraaiad/B2BHome/Apache/Apache/conf/ssl.wlt/default/wallet1</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.336+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="UNKNOWN"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Utility:getPrivateKey:Enter</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.506+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:416)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
         at java.lang.Thread.run(Thread.java:568)
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.506+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1077)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:416)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
         at java.lang.Thread.run(Thread.java:568)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         ... 10 more
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2009-09-04T21:56:50.507+00:00</TSTZ_ORIGINATING>
    <ORG_ID>oracle.com</ORG_ID>
    <COMPONENT_ID>B2B</COMPONENT_ID>
    <MSG_ID>AIP-51083</MSG_ID>
    <HOSTING_CLIENT_ID>beta</HOSTING_CLIENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>B2B</MSG_GROUP>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>abc.abc.com</HOST_ID>
    <HOST_NWADDR>1.1.1.100</HOST_NWADDR>
    <MODULE_ID>B2B</MODULE_ID>
    <THREAD_ID>Thread-12</THREAD_ID>
    <USER_ID>oraaiad</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>Error -: AIP-51083: General failure creating S/MIME digital signature
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:458)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:697)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:373)
         at java.lang.Thread.run(Thread.java:568)
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    Please share your idea/comments.
    I appreciate your help.
    Regards,
    Rama K

  • AIP-51083:  General failure creating S/MIME digital signature

    I want to do a test my B2B server whether it can sent B2B with certification request, so first I config
    my wallet file is ewallet.p12, not txt file, so I locate wallet location in tip.properties:
    oracle.tip.adapter.b2b.WalletLocation = file:D:\\EAIB2B\\B2BServer\\ip\\config
    and then in the B2B config console change the wallet password.
    I find such error log as below when I sent B2B request, it expose AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    Description: General failure creating S/MIME digital signature
    StackTrace:
    Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.createSignatureMimeBodyPart(MimePackaging.java:480)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.createMultipartMessage(MimePackaging.java:934)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.doPack(MimePackaging.java:1132)
    at oracle.tip.adapter.b2b.packaging.MimePackaging.pack(MimePackaging.java:3172)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1685)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
    ... 10 more

    Hi,
    Please refer -
    AS2 error: IP-51083:  General failure creating S/MIME digital signature
    Place your wallet at default wallet location - Midtier_Home/Apache/Apache/conf/ssl.wlt/default and mention this location in your tip.properties file.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Jun 28, 2009 7:33 PM

  • AS2 error: IP-51083:  General failure creating S/MIME digital signature

    Hello All,
    I am getting a failure when sending AS2 with encryption and digital signature. The certificates have been set up as follows:
    Signing and Encryption for Host : Store the certificate in both wallet and repository
    Signing and Encryption for TP : Store the certificate in repository.
    Looks like it it finding the key but looking for "alternateWrl: /apps6/orab2b/as10gt/product/1012/ip/config/wallet/wallet1". Not sure where this wallet1 comes from?
    Thanks.
    2009.06.24 at 15:41:21:471: Thread-40: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Entering...
    2009.06.24 at 15:41:21:471: Thread-40: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Sign using the configured certificate
    2009.06.24 at 15:41:21:471: Thread-40: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign wrl: /apps6/orab2b/as10gt/product/1012/ip/config/wallet
    2009.06.24 at 15:41:21:475: Thread-40: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2009.06.24 at 15:41:21:503: Thread-40: B2B - (DEBUG) Utility:getPrivateKey:matching private key found
    2009.06.24 at 15:41:21:503: Thread-40: B2B - (DEBUG) Utility:getPrivateKey:Exit2009.06.24 at 15:41:21:503: Thread-40: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /apps6/orab2b/as10gt/product/1012/ip/config/wallet/wallet1
    2009.06.24 at 15:41:21:503: Thread-40: B2B - (DEBUG) Utility:getPrivateKey:Enter2009.06.24 at 15:41:21:504: Thread-40: B2B - (ERROR) java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:426)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1807)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:296)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:121) at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1684)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    2009.06.24 at 15:41:21:504: Thread-40: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:426)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1807)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:296)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:121)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1684)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
    ... 10 more

    Hi Anuj,
    I moved the setup to production and I started to get the failures. I verified and re-verified the setup. It is same as in test. I deleted and re-did the setup. However, still failing. As can be seen from the message below the matching private key is found but the encryption/signature does not happen. Again this is outbound message from host to TP. Appreciate any help.
    Thanks.
    2009.08.24 at 11:20:11:555: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setSignatureAlgorithm using algorithm name Leaving...2009.08.24 at 11:20:11:555: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Entering...2009.08.24 at 11:20:11:555: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Leaving...
    2009.08.24 at 11:20:11:555: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Entering...2009.08.24 at 11:20:11:556: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Sign using the configured certificate2009.08.24 at 11:20:11:556: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign wrl: /apps6/orab2b/as10gp/product/1012/Apache/Apache/conf/ssl.wlt/default
    2009.08.24 at 11:20:11:562: Thread-22: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2009.08.24 at 11:20:11:595: Thread-22: B2B - (DEBUG) Utility:getPrivateKey:*matching private key found*
    2009.08.24 at 11:20:11:595: Thread-22: B2B - (DEBUG) Utility:getPrivateKey:Exit2009.08.24 at 11:20:11:595: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /apps6/orab2b/as10gp/product/1012/Apache/Apache/conf/ssl.wlt/default/wallet1
    2009.08.24 at 11:20:11:595: Thread-22: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2009.08.24 at 11:20:11:599: Thread-22: B2B - (ERROR) java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:990)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:426)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1807)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:296)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:121)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1684)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
    at java.lang.Thread.run(Thread.java:534)
    2009.08.24 at 11:20:11:600: Thread-22: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1083)

  • B2B-51083:  General failure creating S/MIME digital signature

    I finally figured out how to pickup a file, send it to B2B and have it recognized in B2B. The last part is to send the message via AS2 to TP. This is the part that fails. I created a keystore file using porticle. I created keystores using this tool as well when I was doing webmethods integration. In this keystore I have my key pair, the full chain, the TP pub and full chain.
    On the host profile I point to this and put in the correct password. For the AS2 delivery channel I am using my key for the digital signature and using the partner key for encryption.
    Im not sure what the issues is? I keep seeing the tip.properties file referenced. I can't find this file on my machine. This is the path to the current keystore c:\certs\fmwgatedevkeystore. It looks like in the logging below that it is referencing the correct location for the keystore off of the host profile.
    [2012-11-01T09:53:13.870-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.ui] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052b9,0] [APP: b2bui] Last deployed status for tpa: AS2_MBDV_MBQA_HUB_CSV = Active
    [2012-11-01T09:53:13.870-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.ui] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052b9,0] [APP: b2bui] oracle.tip.b2b.ui.backing.AgreementSearch: getAllAgreements(): END
    [2012-11-01T09:53:14.835-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.ui] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052bf,0] [APP: b2bui] Value Change Listener:isPageDirty:false
    [2012-11-01T09:53:14.845-05:00] [soa_server1] [WARNING] [] [oracle.soa.b2b.ui] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052bf,0] [APP: b2bui] show b2b.preview.features = false
    [2012-11-01T09:53:42.728-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.ui] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052fd,0] [APP: b2bui] Value Change Listener:isPageDirty:true
    *[2012-11-01T09:53:43.013-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052fd,0] [APP: b2bui] oracle.tip.b2b.utility.Utility:getWalletLocation(): c:\Certs\fmwgatedevkeystore*
    *[2012-11-01T09:53:43.014-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052fd,0] [APP: b2bui] oracle.tip.b2b.utility.Utility:getWalletPasswd(): B2B_WalletPsswd_vcOxvFq-4639124577518380962*
    *[2012-11-01T09:53:43.016-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052fd,0] [APP: b2bui] oracle.tip.b2b.utility.Utility:getWalletLocation(): c:\Certs\fmwgatedevkeystore*
    *[2012-11-01T09:53:43.017-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052fd,0] [APP: b2bui] oracle.tip.b2b.utility.Utility:getWalletPasswd(): B2B_WalletPsswd_vcOxvFq-4639124577518380962*
    *[2012-11-01T09:53:43.034-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052fd,0] [APP: b2bui] oracle.tip.b2b.utility.Utility:getWalletLocation(): c:\Certs\fmwgatedevkeystore*
    *[2012-11-01T09:53:43.035-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052fd,0] [APP: b2bui] oracle.tip.b2b.utility.Utility:getWalletPasswd(): B2B_WalletPsswd_vcOxvFq-4639124577518380962*
    [2012-11-01T09:53:43.052-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.ui] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-00000000000052fd,0] [APP: b2bui] ## In getPermission ### tp null
    [2012-11-01T09:53:44.153-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.ui] [tid: [ACTIVE].ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-0000000000005303,0] [APP: b2bui] Value Change Listener:isPageDirty:false
    [2012-11-01T09:53:45.901-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.ui] [tid: [ACTIVE].ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-000000000000530b,0] [APP: b2bui] ++++++ isDocPickerEnabled = true
    [2012-11-01T09:53:45.905-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.ui] [tid: [ACTIVE].ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1566bf109ebf47ef:60c6c692:13abc28879e:-8000-000000000000530b,0] [APP: b2bui] ### Has Admin Permission ###

    Wow. Another post got me past that error. It was because I had the host pub key in the keystore as well. Once I removed that and just left the keypair it works.
    Edited by: 966999 on Nov 1, 2012 9:15 AM

  • General failure creating S/MIME digital signature

    Hai Ramesh,
    I followed the following thread in setting up the certificates
    Tech Note :  Oracle AS B2B - Security configuration
    Delivery channel setup when General failure encrypting S/MIME message error occured
    Host DC :
    I selected host certificate for both encryption and Non-Rep in creating Host DC.
    Remote TP DC:
    I selected remote TP certificate for both encryption and Non-Rep in creating remote TP DC.
    Delivery channel setup when General failure creating S/MIME digital signature error
    Host DC :
    I selected host certificate for Encryption and remote TP certificate for Non-Rep in creating host DC.
    Remote TP DC:
    I selected remote TP certificate for Encryption and host certificate for Non-Rep in creating remote TP DC
    What is correct way to setup certificates?
    Regards
    Praveen

    Hai
    Yes I set password correctly...
    What I observed after going through logs was
    its looking for /SLOTS/slot06/oracle/AS_10gR2_MID/wallet1 but I set
    /SLOTS/slot06/oracle/AS_10gR2_MID/ewallet.p12
    Why its looking for non-existing file....?
    Now logs shows
    oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Entering...
    2007.07.22 at 23:32:06:254: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Sign using the configured certificate
    2007.07.22 at 23:32:06:255: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign wrl: /SLOTS/slot06/oracle/AS_10gR2_MID
    2007.07.22 at 23:32:06:260: Thread-10: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2007.07.22 at 23:32:07:069: Thread-10: B2B - (DEBUG) Utility:getPrivateKey:matching private key found
    2007.07.22 at 23:32:07:069: Thread-10: B2B - (DEBUG) Utility:getPrivateKey:Exit
    2007.07.22 at 23:32:07:070: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl: /SLOTS/slot06/oracle/AS_10gR2_MID/wallet1
    2007.07.22 at 23:32:07:070: Thread-10: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2007.07.22 at 23:32:07:298: Thread-10: B2B - (ERROR) java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:392)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1195)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:712)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:855)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:595)
    2007.07.22 at 23:32:07:299: Thread-10: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1077)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:392)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1195)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:712)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:855)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         ... 10 more
    2007.07.22 at 23:32:07:300: Thread-10: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:434)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1195)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:712)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:855)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:595)
    2007.07.22 at 23:32:07:300: Thread-10: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:434)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1699)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:262)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:110)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1195)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:712)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:855)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1077)
         at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:392)
         ... 9 more
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
         ... 10 more
    2007.07.22 at 23:32:07:300: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2BDomainException
    2007.07.22 at 23:32:07:301: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -: AIP-51083: General failure creating S/MIME digital signature
    2007.07.22 at 23:32:07:301: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2007.07.22 at 23:32:07:301: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2007.07.22 at 23:32:07:302: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryBusinessMessage
    2007.07.22 at 23:32:07:317: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryBusinessMessage
    2007.07.22 at 23:32:07:318: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message not found.
    2007.07.22 at 23:32:07:318: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2007.07.22 at 23:32:07:319: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information

  • B2B General failure creating S/MIME digital signature.

    Hi,
    I am using Oracle SOA Suite 11.1.1.3 (PS2)
    When I am trying to send signed and encrypted messages to my remote trading partner following error occured
    B2B General failure creating S/MIME digital signature.
    Please help
    Thanks,
    Arun Jadhav

    Hi Nitesh,
    I am Using AS2 protocol with custom documents.
    I am using self signed certificates for sending messages.
    For sending AS2 messages we are using Host trading partner Private key and remote trading partner Public Key.
    When I process the message I am getting following error in Log file
    [2010-05-24T12:45:10.456-04:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@278d45c] [userId: <anonymous>] [ecid: 0000IZBD1L87MAYVLqATOA1BxKEY000qZU,0] [APP: soa-infra] [dcid: 1f4ff32b1ffab628:30ee325c:128b6113365:-7ffd-0000000000001c4c] Error -: B2B-51083: General failure creating S/MIME digital signature.: Error -: B2B-51083: General failure creating S/MIME digital signature.: java.lang.NullPointerException[[
         at oracle.tip.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:496)
         at oracle.tip.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1843)
         at oracle.tip.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:328)
         at oracle.tip.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:166)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1397)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: Error -: B2B-51083: General failure creating S/MIME digital signature.: java.lang.NullPointerException
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:715)
         at oracle.tip.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:466)
         ... 14 more
    Caused by: java.lang.NullPointerException
         at oracle.security.crypto.smime.SmimeMultipartSigned.addSignature(SmimeMultipartSigned.java:257)
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:683)
         ... 15 more
    Error -: B2B-51083: General failure creating S/MIME digital signature.: java.lang.NullPointerException
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:715)
         at oracle.tip.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:466)
         at oracle.tip.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1843)
         at oracle.tip.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:328)
         at oracle.tip.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:166)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1397)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: java.lang.NullPointerException
         at oracle.security.crypto.smime.SmimeMultipartSigned.addSignature(SmimeMultipartSigned.java:257)
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:683)
         ... 15 more
    Thanks,
    Arun Jadhav

  • I can't "confirm" my password when creating a new digital signature

    When I goto create a new digital signature, it cuts off the bottom 2 fields that should be there.
    When I create it from another workstation I see the fields I'm missing.  One important field is the "confirm" field for password creation.  Without it, hitting the "finish" button just tells me that my password doesn't match?
    Why is this hapenning?
    Thanks

    I would like an answer to this as well.  I created a form to use at our University and a few people are not seeing the password confirmation box so they cannot create a dig signature.

  • Problem creating PKCS# 12 Digital Signature in Adobe Reader X - where do I confirm the Password?

    I cannot create a PKCS# 12 Digital Signature in Adobe Reader X. It says the passwords don't match when I create it. The problem is, I never was asked to confirm the P/W when I created it. It asked once for the P/W and then the only thing I can do is click "Finish" and then it says my P/W don't match. I am able to create a DS on my other computer using Reader 9 (and it did ask me to confirm the P/W when creating). I have re-booted my computer and still it will not work.

    You'll need to ask in the Acrobat Pro forum. There are people there with expertise who can answer this. I use Acrobat myself, but I'm a novice when it comes to signature settings.

  • How to create table and digital signature ?

    Hello,
    I would like to ask two questions regarding SAP interactive forms by adobe.
    1st question:
    How to create table in interactive form?
    Table that i can add rows and column and will show it in the form.
    Example the rows and columns that i want:
    <u><b>ID:</b></u>                <b><u>Name:  </u>  </b>               <u><b>DOB:</b></u>
    1                  Jack                      01/02/80
    2                  Ivy                         10/12/82
    2nd question:
    How to create digital signature ?
    I'm creating a adobe forms which need employee to sign on the form. I use signature field at my form. However, i don't know how to create a new signature and insert in the signature field.
    Can any one provide the answer with step by step guide?
    Thanks a lot

    Hi Pradeepa,
    you said you have your digital signature in
    BMP format? That means Bitmap and would mean you are actually talking about a picture! THIS IS NOT A DIGITAL SIGNATURE!
    A digital signature is a cryptographic key (aka public key cryptography) that is used to digitally sign a document, or at least a hash value derived from the document. Digitally signing means, applying the key in a well defined way (this is the algorithm used) to the document or hash value. You do this with your private key and the receiver of the document can then use your public key (which you can distribute in any way you want, even unsecure) to unencrypt the hash value. If this succeeds the receiver knows that the document was signed by you.
    This is because both keys are mathematically related in such a way, that what one key encrypted can only be decrypted by the corresponding other key and by no other key. You even can´t decrypt a document with the same key it was encrypted with, this is the difference to symmetric encryption - please have a look at help.sap.com and search for digital signatures.
    The named formats (afs, pfx and p12) are ways of coding the key, together with information about your person, such as email address and information about validity of the key into a
    certificate. This type of certificate is then called a x.509 certificate and is the same you might have seen when connecting to a secure webserver such as the one of your bank website. 
    Signing a form with such a certificate provides for mathematically and therefore business related proove of a users identity.
    In case you are really using a bitmap, this cannot work and would not serve you any good.
    Ask yourself this question: I want to make sure that the form was signed by a specific person. How can I make sure that the signing can only be done by the person pretending to have done so?
    A bitmap contains a picture, probably of the persons handwritten signature. How can I make sure that this picture was NOT recreated in MS Paint or Photoshop by someone else?
    The answer is:
    you can't! Therefore this way of prooving identity is useless. 
    You need to provide your users with digital signatures, put these in the certificate cache of your IE.  If a user then clicks on the signing field, the private key is used to digitally sign the form - create a hash value of the form and encrypt it with the private key. After the form is send back to the server or you, you use the corresponding public key to decrypt the hash value and, as said above, if this succeeds, identity of the signer is proven.
    THIS IS AN OVERSIMPLIFICATION! You might want to take a look at Adobe Reader Credentials.
    Regards,
       Christian

  • Getting AIP-51083 Error

    Hi,
    I'm trying to setup transfer using HTTPS.
    I'm using B2B 10.1.2.0.2 with patch 6673231
    I created a self signed cert with a similar command:
    orapki wallet add -wallet /hub02/app/oracle/product/64bit/OAS101/Apache/Apache/conf/ssl.wlt/default -dn 'CN=Host, OU=B2B Application, OU=ITG, O=Business, L=City, ST=State, C=US' -keysize 1024 -self_signed -validity 3650 -pwd wallet_password
    I tried various vaules for SSLWallet file but got the same error:
    SSLWallet file:/hub02/app/oracle/product/64bit/OAS101/Apache/Apache/conf/ssl.wlt/default
    SSLWallet file:/hub02/app/oracle/product/64bit/OAS101/Apache/Apache/conf/ssl.wlt/default\ora_wallet.txt
    The agreements and delivery channels have been redployed and even recreated, but still the same error.
    Does B2B support Self signed certs?
    I'm lost at what to fix or check next. Help!!!!!!
    Here is the error:
    2009.03.19 at 15:15:43:349: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Entering...
    2009.03.19 at 15:15:43:350: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Sign using the
    configured certificate
    2009.03.19 at 15:15:43:350: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign wrl: /hub02/ap
    p/oracle/product/64bit/OAS101/Apache/Apache/conf/ssl.wlt/default
    2009.03.19 at 15:15:43:360: Thread-13: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2009.03.19 at 15:15:44:206: Thread-13: B2B - (DEBUG) Utility:getPrivateKey:matching private key found
    2009.03.19 at 15:15:44:207: Thread-13: B2B - (DEBUG) Utility:getPrivateKey:Exit
    2009.03.19 at 15:15:44:208: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign alternateWrl:
    /hub02/app/oracle/product/64bit/OAS101/Apache/Apache/conf/ssl.wlt/default/wallet1
    2009.03.19 at 15:15:44:208: Thread-13: B2B - (DEBUG) Utility:getPrivateKey:Enter
    2009.03.19 at 15:15:44:774: Thread-13: B2B - (ERROR) java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:416)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:126)
    at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:331)
    at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:206)
    2009.03.19 at 15:15:44:775: Thread-13: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerEx
    ception
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1077)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:416)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:126)
    at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:331)
    at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:206)
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
    ... 10 more
    2009.03.19 at 15:15:44:777: Thread-13: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:458)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:126)
    at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:331)
    at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:206)
    2009.03.19 at 15:15:44:778: Thread-13: B2B - (ERROR) Error -: AIP-51083: General failure creating S/MIME digital signature: Error -: AIP-51083: G
    eneral failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:458)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.applySecurity(MimePackaging.java:1734)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createMimeMessage(MimePackaging.java:286)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:118)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1602)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
    at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:126)
    at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:331)
    at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:206)
    Caused by: Error -: AIP-51083: General failure creating S/MIME digital signature: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:1077)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.createSignedMimeBodyPart(MimePackaging.java:416)
    ... 9 more
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging.sign(SmimeSecureMessaging.java:984)
    ... 10 more
    2009.03.19 at 15:15:44:779: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2BDomainException
    2009.03.19 at 15:15:44:779: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -:
    AIP-51083: General failure creating S/MIME digital signature
    2009.03.19 at 15:15:44:781: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2009.03.19 at 15:15:44:784: Thread-13: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType
    :Runtime
    Thank,
    Lavar

    Thank you the the response.
    Does the trading partner have to do something special if I use a self-signed certificate?
    Do I need OCA to generate the self-signed certificate, or will the command in my post work?
    The Verisign certificate works with out B2B setup, but my company wants to use self-signed because of the cost savings.
    I saved the certificate as base-64 and reloaded it into B2B, but the same error occurs.
    Here are the files in my wallet directory:
    ewallet.p12
    ora_wallet.txt
    cwallet.sso
    Thank you,
    Lavar

  • Can't create a digital signature with acrobat 8

    We have acrobat 8.  My husband has a digital signature but when I try to electronically sign, his digital signature pops up and does not give me the option to create my own.  How can I create my own digital signature on this software?

    I don't have Acrobat 8, but in Acrobat 7 & 9 it's under "Advanced > Security Settings", which prings up a window where you can add a digital ID.

  • ANT failure creating domain

    I'm trying to run BEA's example for creating a domain via ANT on a Windows platform
    with WLS 8.1. In doing so I get the following failure:
    [wlserver] java.io.IOException: CreateProcess: chmod +x startmydomain.sh error=2
    [wlserver] at java.lang.Win32Process.create(Native Method) [wlserver] at java.lang.Win32Process.<init>(Win32Process.java:67)
    [wlserver] at java.lang.Runtime.execInternal(Native Method) [wlserver] at java.lang.Runtime.exec(Runtime.java:566)
    [wlserver] at java.lang.Runtime.exec(Runtime.java:428) [wlserver] at java.lang.Runtime.exec(Runtime.java:364)
    [wlserver] at java.lang.Runtime.exec(Runtime.java:326) [wlserver] at weblogic.management.tools.StartScriptWriter.writeShFile(StartScriptWriter.java:145)
    [wlserver] at weblogic.management.internal.DefaultDomainGenerator.generate(DefaultDomainGenerator.java:123)
    [wlserver] at weblogic.management.AdminServerAdmin.initializeRepository(AdminServerAdmin.java:782)
    [wlserver] at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:267)
    [wlserver] at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:753) [wlserver]
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664) [wlserver] at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
    [wlserver] at weblogic.Server.main(Server.java:32)
    This is particularily odd because it appears to be trying to do a CHMOD on a Windows
    platform. The ANT build XML is as follows:
    <target name="createDomain"> <delete dir="./${domainName}"/> <mkdir dir="./${domainName}"/>
    <wlserver dir="./${domainName}" host="${host}" port="${port}" generateConfig="true"
    username="${username}" password="${password}" action="start"/> </target>
    Anyone with a clue as to what is going on?
    Thanks

    That's definitely a bug. I filed CR125202 for you. If you want to
    follow-up with [email protected], reference that bug #.
    A workaround would be to have a dummy chmod.exe in your path that did
    nothing. Or, you could install cygwin or mks that probably includes a
    chmod.
    -- Rob
    Greg wrote:
    I'm trying to run BEA's example for creating a domain via ANT on a Windows platform
    with WLS 8.1. In doing so I get the following failure:
    [wlserver] java.io.IOException: CreateProcess: chmod +x startmydomain.sh error=2
    [wlserver] at java.lang.Win32Process.create(Native Method) [wlserver] at java.lang.Win32Process.<init>(Win32Process.java:67)
    [wlserver] at java.lang.Runtime.execInternal(Native Method) [wlserver] at java.lang.Runtime.exec(Runtime.java:566)
    [wlserver] at java.lang.Runtime.exec(Runtime.java:428) [wlserver] at java.lang.Runtime.exec(Runtime.java:364)
    [wlserver] at java.lang.Runtime.exec(Runtime.java:326) [wlserver] at weblogic.management.tools.StartScriptWriter.writeShFile(StartScriptWriter.java:145)
    [wlserver] at weblogic.management.internal.DefaultDomainGenerator.generate(DefaultDomainGenerator.java:123)
    [wlserver] at weblogic.management.AdminServerAdmin.initializeRepository(AdminServerAdmin.java:782)
    [wlserver] at weblogic.management.AdminServerAdmin.initialize(AdminServerAdmin.java:267)
    [wlserver] at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:753) [wlserver]
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664) [wlserver] at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
    [wlserver] at weblogic.Server.main(Server.java:32)
    This is particularily odd because it appears to be trying to do a CHMOD on a Windows
    platform. The ANT build XML is as follows:
    <target name="createDomain"> <delete dir="./${domainName}"/> <mkdir dir="./${domainName}"/>
    <wlserver dir="./${domainName}" host="${host}" port="${port}" generateConfig="true"
    username="${username}" password="${password}" action="start"/> </target>
    Anyone with a clue as to what is going on?
    Thanks

  • Unable to create a digital signature

    I'm using Acrobat X Pro. The form is great and seems to work perfectly. However I've run into a snafu while trying to create my own digital signature. Using these instructions--http://help.adobe.com/en_US/acrobat/pro/using/WS11dd809af63f0e1e-43e0464b12b4384d3b6-8000. html--to create a new PKCS#12 digital ID file.
    (My coworker was able to do it w/o a problem.)
    I put in all of the info and then get to the point where it asks for location to save the file and to create a password. Once I create a password and choose Next, I get a box that says my passwords don't match!
    This made me think that the system must be trying to match this password with one from a previously created ID but when I went back to manage my digital IDs, none appear in the list.
    This should be the easiest thing in the world to do.
    Suggestions?

    I still haven't figured this out yet.
    Is there anyone out there who can help?
    I can get as far as the screen where I'm to put in my name, organizational info, email etc but without the Key algorithm and use digital for boxes I cannot go any further and have the process work.
    Why would those two boxes be missing from my screen???
    PLEASE I really need to figure this out. I have to help over 100 people set up their digital IDs.

  • Digital Signature crashes Acrobat 9 Pro

    An error occurs when trying to Sign any PDF document, even when opening a very simple, one word (Times New Roman text only) PDF document. After opening the PDF in Acrobat Pro (WinXP Pro SP3), selecting Sign, Sign Document, Acrobat allows proper placement of the signature box, and accepts the password for the selected Signature ID. When <Sign> is then selected, Acrobat offers to save the document, and when the save location (any location) is selected, Acrobat returns the error below.
    Adobe Acrobat 9.3 has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error Signature
    AppName: acrobat.exe AppVer: 9.3.2.163 ModName: acrobat.dll
    ModVer: 9.3.2.163 Offset: 00135fb9
    The same source PDF document can be modified, or password protected, and then saved without a problem. Only when a digital signature is applied does the error occur. Acrobat has successfully Signed and saved documents on this PC previously, but starting experiencing this error about week ago. I have uninstalled Acrobat, reinstalled ver. 9.0 and applied the two updates to 9.3.2, and have generated new Digital Signatures, all with the same resulting error when signing a document. The new, signed PDF document is actually created, and a Digital Signature is found in the document, but is invalid, reporting:
    Error during signature verification.
    Signature contains incorrect, unrecognized, corrupted or suspicious data.
    Support Information: SigDict /Contents illegal data
    I have tried the troubleshooting steps in http://kb2.adobe.com/cps/403/kb403613.html, but without any progress; the error continues to remain. Any advice on how to resolve this will be greatly appreciated.  Thanks.

    Hi Mike,
    After the Save As operation was done, did you see the signature appearance displayed in the signed signature field before you closed the doc? And if did see the signature appearance, did you happen to notice if there was a green check mark displayed in the blue message bar at the top of the file?
    Thanks,
    Steve

Maybe you are looking for

  • User display settings in Oracle Enterprise Linux 5

    Hi all: I have a weird problem with OEL5: I installed it on a (test) server and I access to it from windows machines through XDMCP. The weird thing is that ONE linux user cannot be viewed whereas all the others can. The Xwindow system (Xming) crashes

  • Need Help Loading RSS pics

    I have an RSS feed parsed and displaying text into 5 Dynamic Text Fields on my stage. Now I want to display the jpeg images from the RSS feed into MovieClip instances on my stage. I have named my MovieClip instances picHoldera, picHolderb, etc. How d

  • Problems downloading between Nomad Zen Xtra 40GB and PC (XP S

    Help please I've a new Zen Xtra and have installed all the software that came with it and then reinstalled as per the instructions given in another post. I can see no sign of the drivers under the device driver although, not always, the PC pops up a

  • PriorityProcessor's timeout ignored

    Dear all, I can't get the PriorityProcessor timeout working with Coherence 3.5.3/465 invoking on long EntryProcessor on a partionned/distributed cache. The timeout (both unlimited and MAX_LONG) seem to be ignored, after about 30 seconds, my entry pro

  • What NI Stepper Drive is compatible with both NEMA 11 and NEMA 42 stepper motors?

    I have a NI PXI-7350(Motion Controller), a NI UMI7774 (Universal Interface), and a NI P70530(Stepper Drive) and I tried linking up a new NEMA 11 stepper motor linear actuator from Hayden Kirk and kept getting a constant red blinking light on the driv