Skip to content

Commit

Permalink
Merge pull request #43 from 9oormthonUniv-seoultech/changha-dev
Browse files Browse the repository at this point in the history
SCRUM-32 HotFix : S3 권한
  • Loading branch information
Changha-dev authored Nov 8, 2024
2 parents c85f144 + 1ccdea9 commit 090be53
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class S3Config {
@Bean
public AmazonS3Client s3Builder() {
AWSCredentials basicAWSCredentials = new BasicAWSCredentials(accessKey, secretKey);
System.setProperty("com.amazonaws.sdk.disableCertChecking", "true");

return (AmazonS3Client) AmazonS3ClientBuilder.standard()
.withCredentials(new AWSStaticCredentialsProvider(basicAWSCredentials))
Expand Down

0 comments on commit 090be53

Please sign in to comment.