相关疑难解决方法(0)

如何为localhost创建自签名证书?

我已经完成了如何在localhost上使用https/SSL中详述的步骤但这会为我的机器名设置一个自签名证书,当通过https:// localhost浏览时,我会收到IE警告.

有没有办法为"localhost"创建自签名证书以避免此警告?

iis ssl-certificate windows-7

111
推荐指数
8
解决办法
17万
查看次数

如何在Wamp服务器中启用SSL?

我试过在网上搜索它,但我感到很困惑.我没有得到任何澄清.

php ssl wamp

29
推荐指数
3
解决办法
8万
查看次数

openSSL无法使用PHP内置的webserver

操作系统: Ubuntu 12.04 64位

PHP版本: 5.4.6-2~precision + 1

当我测试一个https页面时,我正在通过内置的webserver(php5 -S localhost:8000)编写,Firefox(16.0.1)说"问题加载:连接被中断",而终端告诉我":: 1" :37026无效请求(不支持的SSL请求)".

phpinfo()告诉我:

  • 已注册的流套接字传输:tcp,udp,unix,udg,ssl,sslv3,tls
  • [curl] SSL:是的
  • SSL版本:OpenSSL/1.0.1
  • OpenSSL的:

    OpenSSL支持:已启用

    OpenSSL库版本OpenSSL 1.0.1 2012年3月14日

    OpenSSL标题版本OpenSSL 1.0.1 2012年3月14日

是的,http页面工作得很好.

有任何想法吗?

php openssl localhost

19
推荐指数
2
解决办法
2万
查看次数

在wamp服务器中安装SSL:httpd-ssl.conf中的错误

我正在尝试在本地主机上设置ssl我已经删除了http://madurad.wordpress.com/2014/04/25/redirect-http-to-https-with-wamp-server/以及其他许多但无法获取成功.我坚持使用httpd-ssl.conf的语法.当我设置时,我的apache服务器停机了

<Directory "c:/wamp/www/"> 
   Options Indexes FollowSymLinks  
   AllowOverride all 
   Require all granted 
   SSLOptions +StdEnvVars
</Directory>
Run Code Online (Sandbox Code Playgroud)

我尝试了许多其他的喜欢

<Directory "c:/wamp/www/"> 
   SSLOptions +StdEnvVars
</Directory>
Run Code Online (Sandbox Code Playgroud)

什么是无法得到的问题....

ssl wampserver ssl-certificate apache2.4

15
推荐指数
2
解决办法
4万
查看次数

在WAMP中启用OpenSSL

我今天在Windows 7计算机上安装了最新的WAMP(来自wampserver.com).

我已经启用了SSL PHP > PHP Extensions > php_openssl

Apache > Apache Modules > open_ssl

但是当我尝试使用https://访问任何内容时,我会收到"问题加载页面".apache_error.log说

[Thu Jun 27 16:25:08.622056 2013] [ssl:warn] [pid 4812:tid 356] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 1.0.1e 11 Feb 2013, version currently loaded is OpenSSL 1.0.1d 5 Feb 2013) - may result in undefined or erroneous behavior


[Thu Jun 27 16:25:08.973076 2013] [ssl:warn] [pid 4812:tid 356] AH01882: Init: this version of mod_ssl was compiled against …
Run Code Online (Sandbox Code Playgroud)

openssl wampserver

12
推荐指数
3
解决办法
7万
查看次数

将adobe creative SDK集成到网络应用中时,我得到:{"error":"invalid_credentials"}

我关注了网站:入门样本.当AdobeCreativeSDK.init调用该函数时,它https://adobeid-na1.services.adobe.com/ims/check/v4/token首先使用请求方法OPTIONS 调用,然后使用请求方法POST 调用,两者都返回状态代码200 OK.对POST请求的响应返回{"error":"invalid_credentials"},我不知道为什么以及如何解决这个问题.

任何帮助将不胜感激.

javascript web adobecreativesdk

1
推荐指数
1
解决办法
632
查看次数

URL图片不会设置为ImageView Android

我试图将图像从url加载到我的android ImageView.但它没有为我的网址提供图片.但当我调用另一个示例网址时,它会加载到ImageView上

我的网址为空

https://192.168.100.15/HeyVoteWeb/Home/GetImage/d9cbd32c-47fc-4644-ab97-1f525c96e9ed/100000102
Run Code Online (Sandbox Code Playgroud)

此示例网址适用于我

https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png
Run Code Online (Sandbox Code Playgroud)

这是我正在处理的代码

public class GetImage extends Activity{
ImageView postpic1;
Bitmap b;
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.all_posts);
    postpic1 = (ImageView) findViewById(R.id.postpic1);
    information info = new information();
    info.execute("");
}
public class information extends AsyncTask<String, String, String>
{
    @Override
    protected String doInBackground(String... arg0) {
        try
        {
            URL url = new URL("https://localhost/HeyVoteWeb/Home/GetImage/d9cbd32c-47fc-4644-ab97-1f525c96e9ed/100000102");
            InputStream is = new BufferedInputStream(url.openStream());
            b = BitmapFactory.decodeStream(is);
        } catch(Exception e){}
        return null;
    }
    @Override
    protected void onPostExecute(String result) {
        postpic1.setImageBitmap(b);

    }
}
}
Run Code Online (Sandbox Code Playgroud)

android imageview android-imageview

0
推荐指数
1
解决办法
858
查看次数