secure-gateway

How to upload the certificate for Client TLS option's after the destination was created

[亡魂溺海] 提交于 2020-01-16 05:03:46
问题 I would like to change a Bluemix Secure Gateway destination's Client TLS option enabled after the destination was created. I edited the destination and upload the certificate. But the certificate seems not to be uploaded. The upload fields didn't change anything. If I check the Client TLS option, the upload field disappeare and I can't upload the certificate. Is the only way to enable Client TLS option and upload the certificate creating a new one? [upload the certificate, but nothing changed

For the Bluemix Secure Gateway service, how does the data center's network need to be configured?

安稳与你 提交于 2020-01-07 06:49:10
问题 I am going to use Secure Gateway service in Bluemix and I have some questions about how I should make it work. Systems in my data center's intranet access the Internet through a proxy (with no authentication). Can Secure Gateway connect to Bluemix via a proxy? Does it connect to Bluemix via HTTPS protocol? The network admins asked me: What are the IPs (or the IP range) of Bluemix, any idea? Thank you very much. 回答1: A Secure Gateway instance runs in two parts, as shown in "Reaching enterprise

How to protect REST API with wso2 IS?

送分小仙女□ 提交于 2020-01-07 02:31:19
问题 I now have a NodeJS REST API. It is CRUD service. Does anyone know how to secure/protect my APIs step by step with wso2 OAuth2? 回答1: If you simply want to protect your REST API with OAuth2 use the WSO2 API Manager. You can follow the quick start guide to get started. Details related to adding your API and enabling OAuth2 protection is mentioned here in the quick start guide. 来源: https://stackoverflow.com/questions/42569535/how-to-protect-rest-api-with-wso2-is

Creating IP table rules for a Bluemix app for Secure Gateway

蹲街弑〆低调 提交于 2019-12-31 04:20:12
问题 There is new section in Bluemix Doc for the Secure Gateway Service: Creating IP table rules for a Bluemix app Unfortunately I don't understand what I should do. E. g. the text says to make an API call in this form: PUT /v1/sgconfig/:<gateway_id>/destinations/:<endpoint_id>/ipTableRule That will never work, it should say something like curl -k --request PUT https://sgmanager.ng.bluemix.net/v1/sgconfig/... Also, in the Secure Gateway Definition, under Advanced / Network Options , do I need to

Bluemix Secure Gateway AS 400 DB2 Connection refused Issue

╄→尐↘猪︶ㄣ 提交于 2019-12-25 07:47:08
问题 I have configured Bluemix Secure gateway client to connect to DB2 on AS 400 using a Windows machine. I am able to run the Db2 connection successfully from the application on Windows machine where Secure gateway client is running. But when I run the same application on Bluemix with modifying the code to depict Secure Gateway client destination details, I get 'Connection Refused' error. I had gone through how to connect a bluemix app to on-premise db/as400? , which mentions about Secure gateway

How to resolve SG Client's ENOTFOUND error

心不动则不痛 提交于 2019-12-24 13:23:14
问题 I set up Secure Gateway's destination host as hostname which is ssldemo , not an IP address. I started SG Client with '--net="host"' option in order to resolve the hostname. Of course, the host operating system can resolve the hostname. Please see the logs of ping the hostname. But, SG Client couldn't resolve the hostname and got "ENOTFOUND" error when the trx was executed. I tried to add '--net="host" --add-host "ssldemo:192.168.56.1"' options, but I got the same error. Could you please

Connecting NodeJS app with OracleDB using SecureGateway

北城余情 提交于 2019-12-11 14:30:58
问题 I'm trying to connect my NodeJS app to a Oracle DB using SecureGateway but doesn't work. I executed tests, and when I run var exec = require('child_process').exec; var sys = require('sys'); function puts(error, stdout, stderr) { sys.puts(stdout) } exec("ping 192.168.10.8", puts); for test my connection, I don't have results. So I think a don't created the connection between my app and my gateway. When I was running in DataConnect, works normally. I use require('bluemix-secure-gateway') for

how to connect a bluemix app to on-premise db/as400?

坚强是说给别人听的谎言 提交于 2019-12-02 16:29:04
问题 trying to connect a bluemix app (java liberty profile) to our on-premise db/as400 using a secure gateway. Denying or allowing all connection, doesn't change the error message. It seems that the request from the app doesn't reach the secure gateway client (and I don't see messages on sgw client that mentions the connection refused). How can i resolve that? This the code: DB_SERVERNAME=jdbc:as400://xxx-xx-xxx-x.integration.ibmcloud.com:15XXX/dbname try { Driver driver = new com.ibm.as400.access