로컬에서 GPKI 없이 서버구동은 확인됨

main
박성영 1 month ago
parent f9d430ade6
commit 25f51f6d8c

@ -39,8 +39,6 @@ public class HttpClientConfig {
HttpComponentsClientHttpRequestFactory requestFactory = new HttpComponentsClientHttpRequestFactory(httpClient);
return builder
.requestFactory(() -> requestFactory)
.setConnectTimeout(Duration.ofMillis(connectTimeout))
.setReadTimeout(Duration.ofMillis(readTimeout))
.build();
}
}

@ -9,6 +9,8 @@ import com.vmis.interfaceapp.model.ledger.LedgerResponse;
import com.vmis.interfaceapp.service.RequestEnricher;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
@ -46,6 +48,8 @@ import org.springframework.web.bind.annotation.*;
*/
@RestController
@RequestMapping("/api/v1/vehicles")
@RequiredArgsConstructor
@Slf4j
@Tag(name = "Vehicle Interfaces", description = "시군구연계 자동차 정보 연계 API")
public class VehicleInterfaceController {
@ -68,25 +72,6 @@ public class VehicleInterfaceController {
*/
private final GovernmentApiClient govClient;
/**
*
*
* <p>Spring Framework .
* :</p>
* <ul>
* <li> </li>
* <li> (final )</li>
* <li> Mock </li>
* <li> </li>
* </ul>
*
* @param govClient API
*/
public VehicleInterfaceController(GovernmentApiClient govClient, RequestEnricher enricher) {
this.govClient = govClient;
this.enricher = enricher;
}
/**
* API
*

@ -18,14 +18,14 @@ vmis:
certServerId: "SVR5640020001"
targetServerId: "SVR1500000015"
ldap: true
gpkiLicPath: "C:/gpki2/gpkisecureweb/conf"
certFilePath: "C:/gpki2/gpkisecureweb/certs"
envCertFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_env.cer"
envPrivateKeyFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_env.key"
envPrivateKeyPasswd: "change-me-dev"
sigCertFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_sig.cer"
sigPrivateKeyFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_sig.key"
sigPrivateKeyPasswd: "change-me-dev"
gpkiLicPath: "src/GPKI/conf"
certFilePath: "src/GPKI/certs"
envCertFilePathName: "src/GPKI/certs/SVR5640020001_env.cer"
envPrivateKeyFilePathName: "src/GPKI/certs/SVR5640020001_env.key"
envPrivateKeyPasswd: "*sbm204221"
sigCertFilePathName: "src/GPKI/certs/SVR5640020001_sig.cer"
sigPrivateKeyFilePathName: "src/GPKI/certs/SVR5640020001_sig.key"
sigPrivateKeyPasswd: "*sbm204221"
gov:
scheme: "http"
host: "10.188.225.94:29001" # 개발(DEV) 행정망

@ -15,14 +15,14 @@ vmis:
certServerId: "SVR5640020001" # 운영 인증서 ID로 교체
targetServerId: "SVR1500000015"
ldap: true
gpkiLicPath: "C:/gpki2/gpkisecureweb/conf"
certFilePath: "C:/gpki2/gpkisecureweb/certs"
envCertFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_env.cer"
envPrivateKeyFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_env.key"
envPrivateKeyPasswd: "change-me-prd"
sigCertFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_sig.cer"
sigPrivateKeyFilePathName: "C:/gpki2/gpkisecureweb/certs/SVR5640020001_sig.key"
sigPrivateKeyPasswd: "change-me-prd"
gpkiLicPath: "src/GPKI/conf"
certFilePath: "src/GPKI/certs"
envCertFilePathName: "src/GPKI/certs/SVR5640020001_env.cer"
envPrivateKeyFilePathName: "src/GPKI/certs/SVR5640020001_env.key"
envPrivateKeyPasswd: "*sbm204221"
sigCertFilePathName: "src/GPKI/certs/SVR5640020001_sig.cer"
sigPrivateKeyFilePathName: "src/GPKI/certs/SVR5640020001_sig.key"
sigPrivateKeyPasswd: "*sbm204221"
gov:
scheme: "http"
host: "10.188.225.25:29001" # 예시: 운영 행정망 (명세에 맞춰 수정)

Loading…
Cancel
Save