[請益] https iframe 頁面會跳出安全性

看板PHP作者 (阿天)時間12年前 (2013/12/28 07:39), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
各位大大好 最近我申請好了 SSL,然後在 SSL 導向的頁面有使用 iframe 譬如這個導向的路徑是在 /var/www/ssl 如果是使用 http://IP/ssl 可以看到 iframe 頁面的內容 但是如果是使用 https://domain/ssl/ 在 Chrome 跟 Firefox 不會顯示,在 IE 會跳出 '僅顯示安全的內容' 點選顯示所有內容才會顯示 請問該怎麼設定才能讓 https 內能使用 iframe 我有上網找每一行 ssl.conf 的設定也修改好像也不對,或是根本不是從這邊下手 再請有經驗的大大指教 感謝,以下附上網站的 ssl.conf LoadModule ssl_module modules/mod_ssl.so Listen 443 SSLPassPhraseDialog builtin SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000) SSLSessionCacheTimeout 300 #SSLMutex default SSLMutex none SSLRandomSeed startup file:/dev/urandom 256 SSLRandomSeed connect builtin SSLCryptoDevice builtin <VirtualHost _default_:443> ServerName 網站domain:443 ErrorLog logs/ssl_error_logTransferLog logs/ssl_access_logLogLevel warn SSLEngine on #SSLProtocol all -SSLv2 SSLProtocol -ALL +SSLv3 #SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile "/var/log/httpd/server.cer" SSLCertificateKeyFile "/var/log/httpd/server.key" SSLCertificateChainFile "/var/log/httpd/uca.cer" CustomLog logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" DocumentRoot /var/www/html/ssl/ </VirtualHost> -- ╔───╗ 一定IPAD溫開水 │ │ ▄▄▄▄ 15分鐘 咳嗽─out 口亥 ︴︴ 米青 口亥米青 〔█▌ ╚───╝ ▄▄▄▄ █▌ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.192.106.252 ※ 編輯: dspswen 來自: 123.192.106.252 (12/28 07:41)

12/28 08:53, , 1F
iframe的src連結必須也是 https
12/28 08:53, 1F

12/28 09:02, , 2F
感謝樓上回覆 !
12/28 09:02, 2F
文章代碼(AID): #1IlW_5ln (PHP)
文章代碼(AID): #1IlW_5ln (PHP)