![]() * under the terms of the GNU General Public License version 2 only, as ![]() * This code is free software you can redistribute it and/or modify it * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * Copyright (c) 1996, 2020, Oracle and/or its affiliates. Please find below the links which I referred.Handshaker Class init Method fatalSE Method fatalSE Method fatalSE Method warningSE Method getHostSE Method getHostAddressSE Method getPortSE Method getLocalPortSE Method getAccSE Method getEndpointIdentificationAlgorithmSE Method setVersionSE Method setVersion Method setEnabledProtocols Method setEnabledCipherSuites Method setAlgorithmConstraints Method getLocalSupportedSignAlgs Method setPeerSupportedSignAlgs Method getPeerSupportedSignAlgs Method setIdentificationProtocol Method setSNIServerNames Method setSNIMatchers Method setApplicationProtocols Method getHandshakeApplicationProtocol Method setApplicationProtocolSelectorSSLEngine Method setApplicationProtocolSelectorSSLSocket Method setUseCipherSuitesOrder Method activate Method setCipherSuite Method isNegotiable Method isNegotiable Method isNegotiable Method selectProtocolVersion Method getActiveCipherSuites Method getActiveProtocols Method setEnableSessionCreation Method newReadCipher Method newWriteCipher Method newReadAuthenticator Method newWriteAuthenticator Method isDone Method getSession Method setHandshakeSessionSE Method isSecureRenegotiation Method getClientVerifyData Method getServerVerifyData Method process_record Method run Method processLoop Method activated Method started Method kickstart Method getKickstartMessage Method processMessage Method handshakeAlert Method sendChangeCipherSpec Method receiveChangeCipherSpec Method calculateKeys Method calculateMasterSecret Method calculateConnectionKeys Method printHex Method throwSSLException Method DelegatedTask Class run Method delegateTask Method getTask Method taskOutstanding Method checkThrown Method SunCertPathBuilderException: unable to find valid certification path to requested targetĪt .SunCertPathBuilder.build(SunCertPathBuilder.java:141) ~ Īt .SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) ~ Īt .build(CertPathBuilder.java:280) ~ Īt .doBuild(PKIXValidator.java:382) ~ Īt .engineValidate(PKIXValidator.java:292) ~ Īt .validate(Validator.java:260) ~ Īt 509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~ Īt 509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~ Īt 509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~ Īt .serverCertificate(ClientHandshaker.java:1491) ~ Īt .processMessage(ClientHandshaker.java:216) ~ Īt .processLoop(Handshaker.java:979) ~ Īt .process_record(Handshaker.java:914) ~ Īt .readRecord(SSLSocketImpl.java:1062) ~ Īt .performInitialHandshake(SSLSocketImpl.java:1375) ~ Īt .startHandshake(SSLSocketImpl.java:1403) ~ Īt .startHandshake(SSLSocketImpl.java:1387) ~ Īt .(SSLSocketFactory.java:573) ~ Īt .(SSLSocketFactory.java:557) ~ Īt .(SSLSocketFactory.java:414) ~ Īt .(DefaultClientConnectionOperator.java:180) ~ Īt .(ManagedClientConnectionImpl.java:326) ~ Īt .圜onnect(DefaultRequestDirector.java:610) ~ Īt .(DefaultRequestDirector.java:445) ~ Īt .(AbstractHttpClient.java:835) ~ Īt .(CloseableHttpClient.java:83) ~ Īt .(CloseableHttpClient.java:108) ~ Īt .(CloseableHttpClient.java:56) ~ Īt .doExecute(AbstractODataRequest.java:301) ~ Īt .ODataEntitySetIteratorRequestImpl.execute(ODataEntitySetIteratorRequestImpl.java:59) ~ Īt .ODataEntitySetIteratorRequestImpl.execute(ODataEntitySetIteratorRequestImpl.java:36) ~ I am getting the following certificate related error while trying to consume the OData service API: ODataRetrieveResponse> response = request.execute() ĬlientEntitySetIterator iterator = response.getBody() tAccept("application/json tadata=minimal") odata4 sample/server limitation not handling metadata=full ODataEntitySetIteratorRequest request = client.getRetrieveRequestFactory().getEntitySetIteratorRequest(absoluteUri) URI absoluteUri = client.newURIBuilder(serviceUrl).build() String serviceUrl = " client.getConfiguration().setHttpClientFactory(new BasicAuthHttpClientFactory(" ", " ")) ODataClient client = ODataClientFactory.getClient() RedfishVersion: "/redfish/v1/TaskService" Sample json output of Redfish "/redfish/v1/Chassis"ĭescription: "Root "/redfish/v1/EventService" But for getting tag informations, we need to use the OData specific library. Initially, I tried to access the redfish API using RestTemplate which worked out well. I tried using Olingo but getting error as the https server is having a self-signed certificate. I understand that Olingo and Odata4j are the java libraries for consuming OData service. I am trying to consume Redfish API which uses OData service in Java using Spring boot application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |