Open ptthuc26 opened 1 year ago
@sydseter please help me this issue. thank you
when run test, the errors in picture. please help me
This is not an issue. It's a negative test. It test that minio returns 405, but it seems like they return 400 in stead. This might have been an api change to the minio s3 spec.
So what I can do now to pass the tests? @sydseter
change this from 405 to 400. https://github.com/sydseter/aws-s3-mtls-nginx-minio/blob/master/src/test/java/no/sydseter/MinioTest.java#L189
The test should be disabled probably.
Thank you. What about the other 2 tests? testputFileFromBucket and testGetFileFromBucket @sydseter
I am not sure. I would have to have a look.
Can you guide detail me on how to install this? The guide is not detail so i don't know how to run. thank you
The procedure for installing is described on the README. https://github.com/sydseter/aws-s3-mtls-nginx-minio#installation If you click on the links you get a more detailed guide for installing each of the dependencies.
Can you explain the tests? I don't understand what the tests do. and you can run again project to debug error for me?. thank you very much
The tests does the following:
MinioSSECTest.testputFileFromBucket: Uploading a new object to S3 from a file using SSE Customer Key (withSSECustomerKey)
MinioSSECTest.testMtlsConnection : Check https connection to Minio
MinioTest.testputFileFromBucket: Uploading a new object to S3 from a file without SSE Customer Key MinioTest.testMtlsConnection : Checks https connection to Minio
The tests requires Minio and NginX to be installed
I do not have the time today to look at this. It's been some years since I looked at this myself.
hi @sydseter , i try enter "client" when enter passphrase pem, but it not work. please help me
you forgot --cert certs/client.pem
sorry i capture not full, but i had. i using "curl --verbose -X POST -d '{"someparam1":"somevalue1","someparam2":"somevalue2"}' -H "Content-Type: application/json" -k https://localhost:8092 --cert certs/client.pem --key certs/client.key"
when i using certs/client_nopassword.key. it like picture. why is 400 bad request?
Hi, this is a concept repository for using a reverse proxy in front of a s3 compatible server and I am afraid I haven't been able to keep this example up to date. This was done in order to demo certificate based authentication at a time when that option was not available through s3. I believe this has changed now with the use of "Certificate-based Authentication for S3": https://blog.min.io/certificate-based-authentication-with-s3/
I therefor do not recommend venture down the road of implementing a proxy in front since Certificate-based Authentication through s3 is a much better solution.
If you need help with minio, then I would contact the team that is responsible for doing the minio development. https://github.com/minio/minio
I am sorry I don't have time to help you any further, but I just do not have the time to debug this 4 years after i wrote it.
Hi Mr.sydseter, when i verify mTLS nginx, it require me enter pass phasae. please help me enter code. i dont know the code.
thank you