반응형
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
java.util.ServiceConfigurationError: org.asciidoctor.Asciidoctor: Provider org.asciidoctor.jruby.internal.JRubyAsciidoctor could not be instantiated
    at java.util.ServiceLoader.fail(ServiceLoader.java:232)
    at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    at org.asciidoctor.Asciidoctor$Factory.create(Asciidoctor.java:475)
    at org.asciidoc.intellij.AsciiDoc.initWithExtensions(AsciiDoc.java:123)
    at org.asciidoc.intellij.AsciiDoc.render(AsciiDoc.java:285)
    at org.asciidoc.intellij.AsciiDoc.render(AsciiDoc.java:280)
    at org.asciidoc.intellij.editor.AsciiDocPreviewEditor$2.run(AsciiDocPreviewEditor.java:124)
    at org.asciidoc.intellij.editor.LazyApplicationPoolExecutor$1.run(LazyApplicationPoolExecutor.java:59)
    at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:311)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
.....
unknown encoding name - MS949
cs

IDE 에러 이벤트 로그에 다음과 같은 Exception 로그와 

"unknown encoding name - MS949"

메시지가 출력 되며 asciidoc plugin 이 작동하지 않는 경우.

"C:\Program Files\JetBrains\IntelliJ IDEA 2019.1\bin\idea64.exe.vmoptions"

파일을 열어 마지막 줄에 다음 내용을 추가 한뒤 IDE 를 재시작 하면 된다.

"-Dfile.encoding=UTF-8"

반응형
반응형

출처 : https://dzone.com/articles/spring-boot-secured-by-lets-encrypt


1. Lets encrypt 설치

1
2
3
$ git clone https://github.com/certbot/certbot 
$ cd certbot
$ ./certbot-auto --help
cs


2. ssl 인증서 발급

1
2
$ ./certbot-auto certonly -a standalone \
     -d abc.com -d www.abc.com
cs


3. PKCS12 형식 파일로 변환 (linux openssl 사용)

1
2
3
4
5
6
$ openssl pkcs12 -export -in fullchain.pem \ 
                 -inkey privkey.pem \ 
                 -out keystore.p12 
                 -name tomcat \
                 -CAfile chain.pem \
                 -caname root

cs


3.1 local 에서 테스트 하기 위해 linux 에 생성된 keystore.p12 파일을 local 로 복사.

4. spring boot application.yml (spring boot version = 2.1.2.RELEASE)

1
2
3
4
5
6
7
8
9
server:
  port: 8443
  servlet:
    context-path: /
  ssl:
    key-store: c:\\www.abc.com\\keystore.p12
    key-store-password: <비밀번호>
    key-store-type: pkcs12
    key-alias: tomcat
cs


출처 : https://dzone.com/articles/spring-boot-secured-by-lets-encrypt

반응형

'IT > 언어' 카테고리의 다른 글

Caused by: java.util.zip.ZipException: error in opening zip file  (0) 2019.07.01
import os  (0) 2015.11.25
[c#] 파일 출력  (0) 2014.08.19
페이징 처리용 소스(예제?)  (0) 2014.07.08
POI Excel 파일 쓰기  (0) 2014.06.26
반응형

준비물 :

 - Cmake download : https://cmake.org/download/

  linux .sh 다운로드

 

설치

1
2
3
4
5
6
7
8
9
10
11
$> cmake-3.13.0-rc1-Linux-x86_64.sh --prefix={install_path}
    ….
   Do you accept the license? [yN]: y
   ## license 동의 ? ㅇㅇ
   By default the CMake will be installed in:
        "{install_path}/cmake-3.13.0-rc1-Linux-x86_64"
   Do you want to include the subdirectory cmake-3.13.0-rc1-Linux-x86_64?
        Saying no will install in: "{install_path}" [Yn]: y
   ## cmake-3.13.0-rc1-Linux-x86_64 폴더 생성 하위에 설치할까?
     아니면 install_path 에 바로 설치 할까? Y={install_path}/cmake-3.13.0-rc1-Linux-x86_64 에 설치
                                          N={install_path}/ 에 설치
cs

사용

1
$>{install_path}/cmake-3.13.0-rc1-Linux-x86_64/bin/cmake
cs



반응형

'IT > OS' 카테고리의 다른 글

Windows 10 잠금 화면 절전 시간 설정  (6) 2017.03.27

+ Recent posts