Title: SSL false with &#8216;wp_widget_rss_output&#8217; function
Last modified: February 6, 2017

---

# SSL false with ‘wp_widget_rss_output’ function

 *  [Alkesh Miyani](https://wordpress.org/support/users/alkesh7/)
 * (@alkesh7)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/ssl-false-with-wp_widget_rss_output-function/)
 * _[ Moderator note: [moved to Fixing WordPress](https://wordpress.org/support/topic/before-posting-in-everything-wordpress/?view=all).]_
 * Hi team,
 * I have one site with is SSL verified and I want to get that feeds of the website
   to other no-SSL verified site.
 * That showing me “WP HTTP Error: cURL error 51: SSL: no alternative certificate
   subject name matches target host name”
 * I am using function ‘wp_widget_rss_output’ but there is no option to filter url
   call with SSL or no-SSL.’
 * Let me know what I am doing wrong.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [gnoric](https://wordpress.org/support/users/gnoric/)
 * (@gnoric)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/ssl-false-with-wp_widget_rss_output-function/#post-8743533)
 * Can you please share your code?
 * also, have you tried adding these curl settings?
 *     ```
           curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
           curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
       ```
   
 *  Thread Starter [Alkesh Miyani](https://wordpress.org/support/users/alkesh7/)
 * (@alkesh7)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/ssl-false-with-wp_widget_rss_output-function/#post-8802747)
 * Hi [@gnoric](https://wordpress.org/support/users/gnoric/),
 * Thanks for trying to reply me back.
 * But, I am asking query for default WordPress functions.
 * Let me share my code here. So, you may get an idea to resolve the issue.
 *     ```
       if (!function_exists('solwin_dashboard_widget_news')) {
   
       	function solwin_dashboard_widget_news() {
       		echo '<div class="rss-widget">'
       		. '<div class="solwin-news"><p><strong>' . __('Solwin Infotech News', SOLWIN_TEXTDOMAIN) . '</strong></p>';
       		wp_widget_rss_output(array(
       			'url' => esc_url('https://www.solwininfotech.com/feed/'),
       			'title' => __('News From Solwin Infotech', SOLWIN_TEXTDOMAIN),
       			'items' => 5,
       			'show_summary' => 0,
       			'show_author' => 0,
       			'show_date' => 1
       		));
       		echo '</div></div>';
       	}
   
       }
       ```
   
 * Please check code again and find the point as I called one feed URL and that 
   contain https. It means that SSL installed URL call.
 * But, when site haven’t installed any SSL certificate with the website then this
   call not working correctly.
 * It showing me error like below.
 * > RSS Error: WP HTTP Error: cURL error 51: SSL: no alternative certificate subject
   > name matches target host name ‘www.solwininfotech.com’
 * Let me know if you need more details from my side.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘SSL false with ‘wp_widget_rss_output’ function’ is closed to new replies.

## Tags

 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [gnoric](https://wordpress.org/support/users/gnoric/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/ssl-false-with-wp_widget_rss_output-function/#post-8743533)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
