AnsweredAssumed Answered

ADF in https mode

Question asked by anakin59490 on Feb 4, 2019
Latest reply on Feb 5, 2019 by d.moeyersons

Hi,

 

In production: I'm trying to use https protocol with adf .

 

I have updated proxy.conf.json file :

 

{
  "/alfresco": {
    "target": "https://localhost:8443",
    "secure": true,
    "changeOrigin": true
  },
  "/": {
    "target": "https://localhost:8443",
    "secure": true,
    "changeOrigin": true
  }
}

And this is the generated request when i try to log in :

http://10.xxx.xxx.xxx:8443/alfresco/api/-default-/public/authentication/versions/1/tickets


port is ok but protocol is still http...

my package.json file :

"scripts": {
  "ng": "ng",
  "start": "npm run validate-config && ng serve --open --public",
  "build": "ng build",
  "test": "ng test",
  "lint": "ng lint",
  "validate-config": "ajv validate -s node_modules/@alfresco/adf-core/app.config.schema.json -d ./src/app.config.json --errors=text --verbose",
  "e2e": "ng e2e"
},

And my command that generates dist folder : ng build --prod --base-href /dist/


How can I solve that ? thank you

(UPDATE : Alfresco Share is ok)

Outcomes