Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Build failed (1), warning: The signer's certificate is self-signed
Started by Ehwaz Jul 05 2018 03:19 AM

8 replies to this topic

Best Answer Rob Miracle , 09 July 2018 - 08:06 AM

Can you change the debugWebServices to 3?

 

HTML5 and Android shouldn't have any impact on each other, but you may want to go to the folder where you output your builds too and remove any old builds and try again. Make sure to quit and restart Corona after changing the debug level.

 

There is also a key:  debugBuildProcess that you can set to 1 or 3 (apparently setting it to 2 causes issues).  Following some older forum links, there seemed to be issues related to the age of the keystore file. Modern Java JDK's default to the pkcs12 format and older keystore formats may not work and you may have to convert your keystore if this is the issue.

 

Rob

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Ehwaz

[GLOBAL: userInfoPane.html]
Ehwaz
  • Observer

  • 7 posts
  • Corona SDK

Hello everyone,

​I got build problem, i tried gen new keystore but i still got this error.

 

I using lastest daily build, i tried re-installing but no luck.

 

Can someone give me some advance ?

Detail in attached file

 

Thank you.



[TOPIC: post.html]
#2

Ehwaz

[GLOBAL: userInfoPane.html]
Ehwaz
  • Observer

  • 7 posts
  • Corona SDK

Bumb, anyone ?

I not allow to post link of image...



[TOPIC: post.html]
#3

Ehwaz

[GLOBAL: userInfoPane.html]
Ehwaz
  • Observer

  • 7 posts
  • Corona SDK

 Informations in console

16:59:28.471  Testing credentials for 'D:\Coronalabs\Resources\swapit.keystore': 
16:59:29.876  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
16:59:29.876  jar signed.
16:59:29.876  
16:59:29.876  Warning: 
16:59:29.876  The signer's certificate is self-signed.
16:59:29.887  WebServices: Call: system.connect 
16:59:30.700  WebServices: Response received in 1 seconds
16:59:30.700  WebServices: Call: corona.getTime 
16:59:31.519  WebServices: Response received in 1 seconds
16:59:31.519  WebServices: Call: user.login2 
16:59:32.527  WebServices: Response received in 1 seconds
16:59:32.527  Using custom build id from app bundle: 00000 (AppSettings.lua)
16:59:32.527  
16:59:32.527  Using custom Build Id 00000
16:59:32.538  Excluding specified files from build: 
16:59:32.538     excluding: LaunchScreen.storyboardc
16:59:32.538     excluding: Icon.png
16:59:32.538     excluding: Icon-*dpi.png
16:59:32.538     excluding: Images.xcassets
16:59:33.125  WebServices: Call: corona.build.7 
17:00:51.855  WebServices: Response received in 78 seconds
17:00:51.855  BuildID: 5b3f3da71dc3e
17:00:51.855  WebServices: Call: corona.getUrl 
17:00:52.805  WebServices: Response received in 1 seconds
17:00:52.805  WebServices: downloading build
17:00:57.718  WebServices: Download of 3769859 bytes complete in 5 seconds (0.72MB/s)
17:00:57.965  Android build failed (1) after 85 seconds
17:00:57.965  WebServices: Call: user.logout 
17:00:58.791  WebServices: Response received in 1 seconds



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,578 posts
  • Corona Staff

If you're talking about this:

 

16:59:29.876 The signer's certificate is self-signed.

 

That's not an error. Is there more to your console log?

Can you post your build.settings?

Can you confirm the version of Corona you're using?

Can you confirm the version of the Java JDK you have installed?
 

Thanks

Rob
 



[TOPIC: post.html]
#5

Ehwaz

[GLOBAL: userInfoPane.html]
Ehwaz
  • Observer

  • 7 posts
  • Corona SDK

If you're talking about this:

 

16:59:29.876 The signer's certificate is self-signed.

 

That's not an error. Is there more to your console log?

Can you post your build.settings?

Can you confirm the version of Corona you're using?

Can you confirm the version of the Java JDK you have installed?
 

Thanks

Rob
 

 

Dear Rob,

 

This is all in my console

08:43:59.609  
08:43:59.609  Corona Simulator 2018.3319 (Jun 18 2018 03:03:06)
08:43:59.609  
08:44:02.586  
08:44:02.586  Copyright (C) 2009-2018  C o r o n a   L a b s   I n c .
08:44:02.586  	Version: 3.0.0
08:44:02.586  	Build: 2018.3319
08:44:02.586  Platform: Sensation / x64 / 10.0 / GeForce 920M/PCIe/SSE2 / 4.6.0 NVIDIA 397.64 / 2018.3319 / en_US | US | en_US | en
08:44:02.586  Loading project from:   D:\Game Workshop\TaiXiu
08:44:02.586  Project sandbox folder: C:\Users\vanho\AppData\Local\Corona Labs\Corona Simulator\Sandbox\taixiu-AEC8C8FAFA83E16B84D9C63D5317555D\Documents
08:44:11.895  Testing credentials for 'D:\Coronalabs\Resources\swapit.keystore': 
08:44:13.305  Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
08:44:13.305  jar signed.
08:44:13.305  
08:44:13.305  Warning: 
08:44:13.305  The signer's certificate is self-signed.
08:44:13.320  WebServices: Call: system.connect 
08:44:14.401  WebServices: Response received in 1 seconds
08:44:14.401  WebServices: Call: corona.getTime 
08:44:15.182  WebServices: Response received in 1 seconds
08:44:15.182  WebServices: Call: user.login2 
08:44:16.134  WebServices: Response received in 1 seconds
08:44:16.134  Using custom build id from app bundle: 00000 (AppSettings.lua)
08:44:16.134  
08:44:16.134  Using custom Build Id 00000
08:44:16.134  Excluding specified files from build: 
08:44:16.134     excluding: LaunchScreen.storyboardc
08:44:16.134     excluding: Icon.png
08:44:16.134     excluding: Icon-*dpi.png
08:44:16.134     excluding: Images.xcassets
08:44:16.870  WebServices: Call: corona.build.7 
08:44:37.955  WebServices: Response received in 21 seconds
08:44:37.955  BuildID: 5b42be1549d1f
08:44:37.955  WebServices: Call: corona.getUrl 
08:44:38.799  WebServices: Response received in 1 seconds
08:44:38.799  WebServices: downloading build
08:44:43.641  WebServices: Download of 3769003 bytes complete in 5 seconds (0.72MB/s)
08:44:43.949  Android build failed (1) after 27 seconds
08:44:43.949  WebServices: Call: user.logout 
08:44:44.793  WebServices: Response received in 1 seconds

Build.setting

--
-- For more information on build.settings, see the Project Build Settings guide at:
-- https://docs.coronalabs.com/guide/distribution/buildSettings
--

settings =
{
	orientation =
	{
		-- Supported values for orientation:
		-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
		default = "landscapeRight",
		supported = { "landscapeRight", },
	},

	--
	-- Android section
	--
	android =
	{
		usesPermissions =
		{
			"android.permission.INTERNET",
		},
	},

	--
	-- iOS section
	--
	iphone =
	{
		xcassets = "Images.xcassets",
		plist =
		{
			UIStatusBarHidden = false,
			UILaunchStoryboardName = "LaunchScreen",
		},
	},
	window =
	{
	    defaultMode = "maximized",
	    -- defaultViewWidth = 960,
	    -- defaultViewHeight = 640,
	    titleText = {
	      default = "TaiXiu GDS"
	    }
	},
	--
	-- Plugins section
	--
	plugins =
	{
	    -- ["plugin.facebook.v4a"] =
     --    {
     --        publisherId = "com.coronalabs"
     --    },
	},

	--
	-- Project section
	--
	excludeFiles =
	{
		-- Exclude unnecessary files for each platform
		all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
		android = { "LaunchScreen.storyboardc", },
	},
}

I'm using Corona Daily Build: Corona-2018.3319

My Java JDK is: jdk-10.0.1

My JRE jre-10.0.1



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,578 posts
  • Corona Staff

I'm trying to see if we have any more information as to why this is failing. We may need you to increase the debugging level, but that involves adding some changes to your Windows registry.

 

Rob



[TOPIC: post.html]
#7

Ehwaz

[GLOBAL: userInfoPane.html]
Ehwaz
  • Observer

  • 7 posts
  • Corona SDK

I'm trying to see if we have any more information as to why this is failing. We may need you to increase the debugging level, but that involves adding some changes to your Windows registry.

 

Rob

Thank Rob,

 

It's okay, how i can increase debugging level ?, i already added debugWebServices = 1

 

If i not wrong since first time i build to HTML5 i got this problem and i can't build to Android anymore, i do not test another method



[TOPIC: post.html]
#8

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,578 posts
  • Corona Staff

  Best Answer

Can you change the debugWebServices to 3?

 

HTML5 and Android shouldn't have any impact on each other, but you may want to go to the folder where you output your builds too and remove any old builds and try again. Make sure to quit and restart Corona after changing the debug level.

 

There is also a key:  debugBuildProcess that you can set to 1 or 3 (apparently setting it to 2 causes issues).  Following some older forum links, there seemed to be issues related to the age of the keystore file. Modern Java JDK's default to the pkcs12 format and older keystore formats may not work and you may have to convert your keystore if this is the issue.

 

Rob



[TOPIC: post.html]
#9

Ehwaz

[GLOBAL: userInfoPane.html]
Ehwaz
  • Observer

  • 7 posts
  • Corona SDK

Thank Rob  :D

 

I was built successful after i change output folder

Tested with debug and new key i generated.

I change from: 

D:\Game Workshop

To:

C:\Users\vanho\Desktop

And i was reverse with no error




[topic_controls]
[/topic_controls]