<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SCMB 404 not found in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6573522#M101</link>
    <description>&lt;P&gt;I tried on another computer runing Mac os, and here everything works, thank you for your support.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Aug 2014 06:47:42 GMT</pubDate>
    <dc:creator>Jacob_Just</dc:creator>
    <dc:date>2014-08-14T06:47:42Z</dc:date>
    <item>
      <title>SCMB 404 not found</title>
      <link>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6569916#M95</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have implemented an integration using the rest api, now I want to connect to the SCMB, but when I try to create the certificate it fails, it seems like that part of the api/service are not running.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my request:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;POST /rest/certificates/client/rabbitmq HTTP/1.1&lt;BR /&gt;Host: 10.169.115.205&lt;BR /&gt;auth: pAbBxI0ePmgzru_vcGj1zNPSObt4X6Rb&lt;BR /&gt;Content-Type: application/json&lt;BR /&gt;&lt;BR /&gt;{
  	"type":"RabbitMqClientCertV2",
  	"commonName":"default"
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I get a 404 as response:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"errorSource":null,"nestedErrors":[],"errorCode":"GENERIC_HTTP_404","data":{},"recommendedActions":["Check the request URI, then resend the request."],"details":"The requested resource could not be found.","message":"Not Found"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m using the newest OneView trial version 1.10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jacob Just&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:23:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6569916#M95</guid>
      <dc:creator>Jacob_Just</dc:creator>
      <dc:date>2014-08-11T08:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: SCMB 404 not found</title>
      <link>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6570570#M96</link>
      <description>&lt;P&gt;Hello, and thank you for your question.&amp;nbsp; If what you provided is the complete API request, you are missing the X-API-Version header from your request.&amp;nbsp; As documented in the API Reference, X-API-Version is a required header.&amp;nbsp; I just validated that if the X-API-Version header is missing, the HTTP 404 error is what's generated.&amp;nbsp; If you add the X-API-Version header with the correct API version (in the case of 1.10, the value would be 101), you will get an HTTP 200 if the RabbitMQ default user cert was not generated before, or an HTTP 409 stating the cert was already generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, you should always perform a GET /rest/certificates/client/rabbitmq/keypair/default, prior to issuing a HTTP POST request.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2014 19:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6570570#M96</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2014-08-11T19:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: SCMB 404 not found</title>
      <link>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6571328#M97</link>
      <description>&lt;P&gt;Hi Chris&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your fast help, Now I´m able to get all the certificates and keys, besides what was mentioned in the java example I have created a truststore and added the ca certificate to it, like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;keytool -keystore truststore -importcert -alias rabbitmq_readonly -file caroot.pem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I´m running the java example it fails on&amp;nbsp;factory.newConnection();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.jdt.internal.launching.LongCommandLineLauncher.main(LongCommandLineLauncher.java:43)
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:882)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1203)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654)
	at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
	at java.io.DataOutputStream.flush(DataOutputStream.java:106)
	at com.rabbitmq.client.impl.SocketFrameHandler.sendHeader(SocketFrameHandler.java:129)
	at com.rabbitmq.client.impl.SocketFrameHandler.sendHeader(SocketFrameHandler.java:134)
	at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:276)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:590)
	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:612)
	at com.apc.external.model.monitoring.hp.SCMBTest.main(SCMBTest.java:63)
	... 5 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
	... 17 more&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m using the client jar file from:&amp;nbsp;&lt;A href="http://www.rabbitmq.com/" target="_blank"&gt;http://www.rabbitmq.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas?&lt;/P&gt;&lt;P&gt;Are there any log files on the OneView server I can look at, to track down the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jacob&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2014 13:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6571328#M97</guid>
      <dc:creator>Jacob_Just</dc:creator>
      <dc:date>2014-08-12T13:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: SCMB 404 not found</title>
      <link>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6571414#M98</link>
      <description>&lt;P&gt;I have no experience in Java development.&amp;nbsp; But based on the error you pasted, it appeared that the appliance didn't accept your client certificate during the SSL negotiation.&amp;nbsp; As for logs on the appliance, we do not provide access to the internals for customers or partners.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What specific Java client and version did you download from rabbitmq.com? I will look to see if someone can provide some guidance on this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2014 14:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6571414#M98</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2014-08-12T14:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: SCMB 404 not found</title>
      <link>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6571732#M99</link>
      <description>&lt;P&gt;Can you please attach you the Java code you are using to connect to the SCMB endpoint?&amp;nbsp; You can use the &lt;EM&gt;Add Attachment&lt;/EM&gt; option when creating a reply in this conversation.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2014 18:16:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6571732#M99</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2014-08-12T18:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: SCMB 404 not found</title>
      <link>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6572706#M100</link>
      <description>&lt;P&gt;Today I tried the Python example from Git, that is working fine:-)&lt;/P&gt;
&lt;P&gt;I compared the certs / and keys downloaded from the python example, and the are identical to the ones I have downloaded, and using from java.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached the ssl debug log from java, and the jave source code for the example. Also attached the certificates / keys, and the commands I use to create the keystore and trust store.&lt;/P&gt;
&lt;P&gt;I have tried with sun jre 1.6.35, 1.6.45 and 1.7.67.&lt;/P&gt;
&lt;P&gt;The rabbitmq I´m using:&amp;nbsp;rabbitmq-java-client-bin-3.3.5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Jacob&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 04:33:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6572706#M100</guid>
      <dc:creator>Jacob_Just</dc:creator>
      <dc:date>2025-08-05T04:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: SCMB 404 not found</title>
      <link>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6573522#M101</link>
      <description>&lt;P&gt;I tried on another computer runing Mac os, and here everything works, thank you for your support.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2014 06:47:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6573522#M101</guid>
      <dc:creator>Jacob_Just</dc:creator>
      <dc:date>2014-08-14T06:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: SCMB 404 not found</title>
      <link>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6573874#M102</link>
      <description>&lt;P&gt;Now it is also working on my windows machine. I added the oneview server to the host file and it worked. The Oneview are running on vmware and are not registrered on the dns server, this seems to confuse java on windows, even if I use the ip address when connecting.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2014 13:05:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/scmb-404-not-found/m-p/6573874#M102</guid>
      <dc:creator>Jacob_Just</dc:creator>
      <dc:date>2014-08-14T13:05:34Z</dc:date>
    </item>
  </channel>
</rss>

