$ sudo a2enmod ssl Enabling module ssl. See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates. To activate the new configuration, you need to run: service apache2 restart $ sudo /etc/init.d/apache2 restart * Restarting web server apache2 ... waiting [ OK ] $ sudo a2ensite default-ssl Enabling site default-ssl. To activate the new configuration, you need to run: service apache2 reload $ sudo /etc/init.d/apache2 restart * Restarting web server apache2 ... waiting [ OK ]
最初に

次に

次に

次に

以降、ブラウザで強制的に認証していけばSSLで通信できた。しかし、facebook アプリから起動してみると黙り。端末から直にモジュールを起動してみると、何かパッケージが足らない旨のエラーがでているので不足のモジュールをインストールしてテスト環境構築完了。
sudo apt-get install php5-curl
0 件のコメント:
コメントを投稿