Support » Plugin: Google Drive WP Media » Install help P12 file problem

  • Noiseman

    (@noiseman)


    Hi,

    I’m unclear where and how the p12 file should be uploaded to on my web host. I can’t upload it as a media file within word press as the file type is not permitted unsurprisingly as its not a media file. The dashboard doesn’t seem to allow for other files to be uploaded.
    If I use an ftp client, where should the file be stored? I can’t understand how the file can have a url without publishing it ….surely I don’t want to publish this file on my website?

    Thanks
    Tim

    https://wordpress.org/plugins/google-drive-wp-media/

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Author Moch Amir

    (@moch-a)

    You need to upload it via ftp or File Manager in your hosting control panel.
    You can store it in the folder any where you like

    Regrads

    Thread Starter Noiseman

    (@noiseman)

    Thanks Moch but it is still give me the error message “An error occurred: Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error:”

    I’ve uploaded the file using FTP and put it in a directory, then specified the folder path to the file but it still isn’t working for some reason. I don’t see any option to specify the password for the p12 file…is that the issue?

    Thanks
    Tim

    Plugin Author Moch Amir

    (@moch-a)

    have you write the correct url path of p12 file.? can you access or download it via web browser? in addition if your domain setting use non-www or www only, then you have to add/remove www in url path.

    http://wordpress.org/plugins/google-drive-wp-media/faq/

    Hi Moch,
    I have done as above also and still getting the same problem. I can download via the url no problem. My site is http://shop.printersparts.com. Still having the error:
    An error occurred: Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error:

    Plugin Author Moch Amir

    (@moch-a)

    Hi hasnaink,

    create a new client id again, and change the api setting with the one

    Hi Moch

    First of all, thank you for your plugin. It seems to be great to synchronize to a cloud storage.

    I am dealing with the same error one and another time,

    An error occurred: Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error:

    and I tried to change the client ID but I am not able to imagine where the error is.

    I uploaded the p12 file into a folder, I changed permissions wrx for all users, I can download via server URL

    http://www.namedomain/folder/XXXX.p12

    but there is no success.

    What do you think about this? I am struggling myself but it failed. In localhost there is no problem, it works properly but with a hosted server, no success. OpenSSL is enabled, no SSL certified is contracted but this should not be the issue.

    Thank you in advance

    Jorge

    Plugin Author Moch Amir

    (@moch-a)

    Well, this plugin use file_get_contents function to parse the p12 file, so your server need to “allow_url_fopen=on”

    Regards,

    Hi! I have done all that you adviced and allow_url_fopen=on too, but problem is still not solved. I still have this error “An error occurred: Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error:”. .p12-file I can download from url with www and without it. In developer console I tryed to create account several times, but unsuccessfully. Please help me to solve this problem. Thx!

    Hi all, I’m researching a fix for this problem for 4 hours now. Can’t get around “An error occurred: Unable to parse the p12 file. Is this a .p12 file? Is the password correct? OpenSSL error:”

    Maybe the password isn’t sent by the plug-in. I know that google updated it’s assertion credentials https://github.com/google/google-api-php-client/blob/master/src/Google/Auth/AssertionCredentials.php

    p12 is downloadable, recreated client id, no white spaces, tried with/without www.

    I ended up in https://code.google.com/apis/console/b/0/?noredirect&pli=1#project:1061034667957:drive_sdk

    where I have options to edit

    Drive Integration
    Authentication
    Automatically initiate the OAuth 2.0 flow when users open my application from Drive
    Open URL (Required) (GIVE EXAMPLE MAYBE ?)
    This URL is used when the user opens an existing Google Drive item with your application.

    Multiple File Support
    Allow users to open multiple files using a single instance of this application
    Default MIME Types
    List MIME types that your application can open. Users can make your application open files with these MIME types by default.
    1.
    Default File Extensions
    List file extensions that your application can open. Users can make your application open items with these extensions by default.
    1.
    Secondary MIME Types
    List secondary MIME types that your application supports. These MIME types are never opened with your application by default.
    1.
    Secondary File Extensions
    List secondary file extensions that your application supports. These file extensions are never opened with your application by default.
    1.
    Create With
    Allow users to create new documents using this application
    Import
    Allow users to open files that can be converted to a format that this app can open
    Mobile Browser Support
    Check this if your application can be launched and works properly in a mobile browser

    Any of these relevant and need to be edited ?

    My bad, you just have to place the p12 file in the SSL folder on your server. DOOH, but “place it anywhere” made me think it will work.

    No need to edit code or other settings. File permisions 744

    Hi Aridwev,
    What do you fill in ‘Private Key Url Path’ for folder ssl?
    Could you please give me an example?

    I have the same problem as described by others above. I cannot find any SSL folder on my server. Where do I put the p12 file?

    Where do I provide the password that is been used?
    I don’t see any option for that. May be the default (provided by Google) has changed?

    Chers
    Nicolaie

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Install help P12 file problem’ is closed to new replies.