open ssl

hi

i want to work on suite api v8

but i do not have ssl

what i have to do

Get SSL! :slight_smile:

You can have it for free, have you checked “Let’s Encrypt”?

thank you very much for your reply

i want to ask you the file of
lib/api/Oauth2/ public.key
lib/api/Oauth2/ private.key

those files are only for access token

To be honest, I don’t know much about the API, I’ve never used it.

But yes, I believe those are for the OAUTH process.

thank you

i asked you because if i get ssl from "Lets Encrypt " and it will give me public key and private key

it doesn’t match the public key and private key that suite crm generate them

From what I read in the Documentation, you should be able to let SuiteCRM configure itself for this. Those commands to get the keys were only to be used if that process didin’t work.

thanks for reply

  • by the command of open ssl we can create private.key and public.key in lib/api/oauth2 folder as will as if you request for access_token

    after making request on POST /api/oauth/access_token it will generate the same file so we get the same result as they mention in docs

but the problem is when you take the access_token (private key ) and add it to the header of the request it will response “Missing Authorization header”

this is the first point

  • in the docs they mention the you must have openssl to use api v8 so i made ssl certification on my domain i change all the request to https and i put the

private of this certification the same private key the system generated but it still give same message in response

please could you help me with this issue

i am looking forward your reply

I’m sorry, but I don’t know the answers to that… maybe someone else who has used the API can answer?