Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

HTTPS sur CVE-SEARCH pour OCS - Ubuntu Focal [closed]

Bonjour,

Avant tout je souhaite remercier toute personne souhaitant m'aider ou m'éclairer.

Je me permet de poser la question ici car je n'ai pas trouvé le forum CVE-SEARCH. J'ai installé CVE-SEARCH en installation Standard sur Ubuntu Focal. Il fonctionne parfaitement avec mon serveur OCS 2.9.1 avec l'adresse http://moncvesearch:5000 configuré sur celui-ci.

J'ai mon serveur OCS Inventory NG en HTTPS. Je souhaiterai également passer en HTTPS mon serveur cvesearch mais je n'y arrive pas. Dès que je l'active mon serveur CVE-SEARCH ne fonctionne plus. Je recherche des informations sur la configuration en HTTPS de CVE-SEARCH. 

Je suis à votre écoute pour toute suggestion de configuration. Merci.


root@moncvesearch:/opt/cve-search# python3 web/index.py

2022-05-21 14:15:47,128 - lib.Authentication - WARNING  - Could not find auth loader file!

2022-05-21 14:15:47,142 - __main__ - INFO     - Running version: 4.2.dev40

2022-05-21 14:15:47,245 - __main__ - INFO     - Running async mode: gevent

2022-05-21 14:15:47,245 - __main__ - INFO     - Server starting...

2022-05-21 14:15:47,588 - lib.Authentication - WARNING  - Could not find auth loader file!

2022-05-21 14:15:47,601 - __main__ - INFO     - Running version: 4.2.dev40

2022-05-21 14:15:47,699 - __main__ - INFO     - Running async mode: gevent

2022-05-21 14:15:47,699 - __main__ - INFO     - Server starting...

closed with the note: résolu
in OCS Inventory NG server for Unix by (580 points)
closed by

1 Answer

0 votes
J'ai résolu mon problème le https fonctionne. Ma solution :

apt install nginx -y
unlink /etc/nginx/sites-enabled/default
nano /etc/nginx/sites-available/cve-search.conf

----

upstream backend{
    server 127.0.0.1:5000;
}

---

location / {
        include proxy_params;
        proxy_pass http://backend;
        }

---

ln -s /etc/nginx/sites-available/cve-search.conf /etc/nginx/sites-enabled/
systemctl restart nginx
by (580 points)
 
Powered by Question2Answer
...