简体   繁体   English

回调API服务通过SSL连接到服务器需要什么?

[英]What do I need for a callback API service to connect to my server via SSL?

I need to use an API that passes information to a callback script on my server. 我需要使用将信息传递到服务器上的回调脚本的API。

The API connects using Secure Sockets Layer (SSL). 该API使用安全套接字层(SSL)连接。 I've never worked with SSL and I don't know if I need to get some kind of certificate to get it to work on my Server. 我从来没有使用过SSL,也不知道是否需要某种证书才能使其在服务器上工作。

I'm using PHP and these are all the current settings related to SSL that I could find via phpinfo(): 我正在使用PHP,这些是我可以通过phpinfo()找到的与SSL相关的所有当前设置:


Registered Stream Socket Transports: tcp, udp, unix, udg, ssl, sslv3, sslv2, tls 已注册的流套接字传输: tcp, udp, unix, udg, ssl, sslv3, sslv2, tls

SSL Yes SSL Yes

SSL Version OpenSSL/0.9.8b SSL版本OpenSSL/0.9.8b

OpenSSL support enabled enabled OpenSSL支持

OpenSSL Library Version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 OpenSSL库版本OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

OpenSSL Header Version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 OpenSSL的头版本OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

Native OpenSSL support enabled enabled机OpenSSL支持


So what do I need to do in order for the API to connect to my server via SSL? 那么,为了使API通过SSL连接到服务器,我需要做什么?

Also, will I have to use https in the URL of my callback script? 另外,我是否必须在回调脚本的URL中使用https

For your server to be accessed via SSL, you do need a certificate for it on your server. 为了通过SSL访问服务器,您确实需要在服务器上为其提供证书。 While calling the other server, you would use the https to access it. 在调用另一台服务器时,您将使用https来访问它。 So if the API that you are calling requires a secure callback via SSL, then you do need the certificate. 因此,如果要调用的API需要通过SSL进行安全回调,那么您确实需要证书。 Otherwise, you do not. 否则,您不会。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 简单的SSL - 我需要做些什么才能使我的ajax登录SSL安全 - Simple SSL - what do I need to do to make my ajax'd login SSL secure 除了证书,我还需要SSL吗? - What do i need for SSL besides a certificate? 我是否需要修改这个mod重写代码,如果我添加SSL证书到我的服务器? - Do I need to modify this mod-rewrite code if I add an SSL certificate to my server? 我需要在服务器上做什么才能与Android应用程序通信? - What to I need to do to on my server to communicate with an Android app? 我是否需要服务器上的ssl证书才能向https://x.com发出SOAP请求? - Do I need an ssl certificate on my server to make SOAP requests to https://x.com? 通过SSL交换信息时需要加密数据吗? - Do I need to encrypt data when exchanging information via SSL? 为什么我需要使用“ localhost:8080”而不是“ localhost”来连接服务器WAMP? - Why do I need to use 'localhost:8080' instead of just 'localhost' to connect to my server WAMP? 在本地主机上使用SSL开发网站时需要考虑什么 - What do I need to consider when developing on the localhost a website with SSL 我需要将SQL SERVER连接到我的codeigniter项目 - I need to connect SQL SERVER to my codeigniter project 从托管服务器将SMS发送到客户端手机需要什么? - What do I need to send SMS to a client cellphone from my hosted server?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM