Jump to content

Topic on Manual talk:Running MediaWiki on Debian or Ubuntu/Flow

mediawiki 1.35.1 plus visualeditor, public or private: Error contacting the Parsoid/RESTBase server: (curl error: 60) SSL peer certificate or SSH remote key was not OK

3
Smartdaddy1879 (talkcontribs)

hello mediawiki experts,

thanks for all the work, a lot of things had been done since I set up a mediawiki last time (about 8 years ago).


I now did a fresh installation on a recent debian 10 installation using the official 1.35.1-tarball following the manual Running MediaWiki on Debian or Ubuntu

The only extension I added was VisualEditor.

The only thing I changed in LocaleSettings.php was to set $wgServer with my servers address.

and optionally the additional line: $wgGroupPermissions['user']['writeapi'] = true;


To my understanding this way I should end up with a public wiki ready for use incl VisualEditor. (correct?)

I tried both without logging in and as a registered user (I will need some privacy later on, but for now I'd be happy to see VisualEditor working one way or another).


Actually I run such installations quite some times, always starting from scratch, following various other descriptions suggesting to add parsoid and rest server stuff separately.


But whenever I finally start using that editor by clicking on bearbeiten I get the pop up message (using firefox from remote or locally): Error contacting the Parsoid/RESTBase server: (curl error: 60) SSL peer certificate or SSH remote key was not OK


In contrast Quelltest bearbeiten seems to work fine :)


My questions:

  • can I take it for granted the documented procedure should work including VisualEditor without any extra steps ?
  • If any additional procedure is needed: which one ?


thanks for any advise or explanation

Smartdaddy1879 (talkcontribs)

additional info:

turning on all debug stuff I found I got these lines:

 [http] GET: https://<my-server-ip>/mediawiki/rest.php/<my-server-ip>/v3/page/html/Hauptseite/1?redirect=false&stash=true
  
 
  [http] Error fetching URL "https://<my-server-ip>/mediawiki/rest.php/<my-server-ip>/v3/page/html/Hauptseite/1?redirect=false&stash=true": (curl error: 60) SSL peer certificate or SSH remote key was not OK

Maybe somebody could tell the structure of that https request where the original request from outside was

 https://<my-server-ip>/mediawiki/index.php/Hauptseite?action=edit&veswitched=1
Tderouin (talkcontribs)

Hey there - I had this issue this morning myself. It's trying to request https but I don't have SSL running yet on this server. Are you running SSL? Try changing

https://<my-server-ip>/

to http://<my-server-ip>/

Reply to "mediawiki 1.35.1 plus visualeditor, public or private: Error contacting the Parsoid/RESTBase server: (curl error: 60) SSL peer certificate or SSH remote key was not OK"