• Resolved WPChina

    (@wordpresschina)


    I need to use the plugin on a site using SSL. I changed the plugin vode from this:

    return 'http://s.wordpress.com/mshots/v1/' . urlencode( $url ) . '?w=' . $width . '&h=' . $height;

    to this:

    return 'https://s.wordpress.com/mshots/v1/' . urlencode( $url ) . '?w=' . $width . '&h=' . $height;

    Note: I only added https.

    However, when I try https, the wordpress.com server appears to not respond. Is there a method by which we can return https? Any ideas?

    https://wordpress.org/plugins/browser-shots/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter WPChina

    (@wordpresschina)

    I just checked and the wordpress.com server uses SSL, but it is a self-signed certificate, so browsers and servers will not be able to authenticate it without a lot of work (and trust). Maybe WordPress.com can add s non-self-signed SSL to that server?

    Plugin Author binarymoon

    (@binarymoon)

    Hi there – thanks for the tip. That’s a good catch with the browser shots secure url.

    Unfortunately there’s no way for me to get wordpress.com to change the certificate since I am not affiliated with them in any way.

    I’ll send them a message and point out the problem but I would be surprised if they did anything about it 🙁

    Thread Starter WPChina

    (@wordpresschina)

    Many thanks and I completely understand. On another thread I found on github the mshots opensource package, but I need to use it on a hosted account and I don’t have full root access to the server, so I need a “hosted” mshots solution.

    I would also be very very happy to donate the $75 to get WordPress.com a Comodo SSL for that domain. 🙂

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Change the plugin to use s0.wordpress.com instead. That one will work and has proper SSL support. The s.wordpress.com address should no longer be used.

    Thread Starter WPChina

    (@wordpresschina)

    Excellent, that you Otto! This works well.

    Plugin Author binarymoon

    (@binarymoon)

    awesome – thanks Otto. I’ll update the plugin!

    Thread Starter WPChina

    (@wordpresschina)

    I manually updated my version of the plugin. Do you expect that URL to be the only change? I’ll be able to just update and copy over what I did, correct?

    Plugin Author binarymoon

    (@binarymoon)

    yeah – that’s fine. I tidied up some code but little else has actually changed.

    this helped me on my side a lot just use https://s0.wordpress.com/mshots/v1/http://www.wordpress.org/?w=680
    and it is now SSL 🙂

    Plugin Author binarymoon

    (@binarymoon)

    Great – glad it helped!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘SSL/HTTPS appears to not work on the plugin using WordPress.com?’ is closed to new replies.