I've been trying to add the MISP-Taxii-Server configuration to my up-and-running Apache MISP server on Ubuntu 20.0.4 LTS.
When I try to do the following:
taxii-push --path https://localhost:9000/services/inbox -f ~/MISP-Taxii-Server/tests/test.xml --dest my_collection --username admin --password admin
I receive the following error:
`HTTPSConnectionPool(hostlocalhost', port=9000): Max retries exceeded with url: /services/inbox (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)')))`
Attached are my configuration files (please note - the secret and passwords have all been changed, I'm using the default values for demonstration):
Hi,
I've been trying to add the MISP-Taxii-Server configuration to my up-and-running Apache MISP server on Ubuntu 20.0.4 LTS. When I try to do the following:
taxii-push --path https://localhost:9000/services/inbox -f ~/MISP-Taxii-Server/tests/test.xml --dest my_collection --username admin --password admin
I receive the following error: `HTTPSConnectionPool(hostlocalhost', port=9000): Max retries exceeded with url: /services/inbox (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)')))`
Attached are my configuration files (please note - the secret and passwords have all been changed, I'm using the default values for demonstration):
MISP/Taxii-Server/config/config.yaml `domain: "localhost" support_basic_auth: yes
persistence_api: class: opentaxii.persistence.sqldb.SQLDatabaseAPI parameters: db_connection: mysql://taxii:some_password@localhost/taxiipersist create_tables: yes
auth_api: class: opentaxii.auth.sqldb.SQLDatabaseAPI parameters: db_connection: mysql://taxii:some_password@localhost/taxiiauth create_tables: yes secret: ILoveTheSecretStringIsIsGreatButNeedsToBeChangedFrienderino
logging: opentaxii: info root: info
hooks: misp_taxii_hooks.hooks
zmq: host: localhost port: 50000
misp: url: "https://localhost" api: APIKEY dedup: true collections:
taxii: auth: username: admin password: admin collections:
verifySSL: False ` I've added the verifySSL:False value to try and diagnose the problem, it hadn't changed a thing.
etc/apache2/sites-enabled/misp-ssl.conf `<VirtualHost *:80> ServerAdmin serveradmin@misp.local ServerName localhost
<VirtualHost *:444> ServerAdmin serveradmin@misp.local ServerName localhost DocumentRoot /var/www/MISP/app/webroot <Directory /var/www/MISP/app/webroot> Options -Indexes AllowOverride all Require all granted
SSLProtocol All SSLCipherSuite (values) SSLHonorCipherOrder off SSLSessionTickets off
Protocols h2 http/1.1
SSLUseStapling On SSLStaplingCache "shmcb:logs/ssl_stapling(32768)" `
I am not using a proxy as far as I am aware (tried
set | grep -i proxy
and got no results).When I telnet to localhost 9000 and try GET to https://localhost:9000/services/inbox, I receive a 404 error.
However, when I
curl -i -v https://localhost:9000/services/inbox
, I receive the following output:What am I doing wrong? And how do I fix this?
Thanks in advance.